source/Application/Controller/Admin/ShopSeo.php
protected function _cleanupUrl($sUrl)
    {
        // replacing &amp; to & or removing double &&
        while ((stripos($sUrl, '&amp;') !== false) || (stripos($sUrl, '&&') !== false)) {
            $sUrl = str_replace('&amp;', '&', $sUrl);
            $sUrl = str_replace('&&', '&', $sUrl);
        }

        // converting & to &amp;
        return str_replace('&', '&amp;', $sUrl);
    }
protected function _cleanupUrl($sUrl)
    {
        // replacing &amp; to & or removing double &&
        while ((stripos($sUrl, '&amp;') !== false) || (stripos($sUrl, '&&') !== false)) {
            $sUrl = str_replace('&amp;', '&', $sUrl);
            $sUrl = str_replace('&&', '&', $sUrl);
        }

        // converting & to &amp;
        return str_replace('&', '&amp;', $sUrl);
    }
protected function _cleanupUrl ( $ sUrl ) { // replacing &amp; to & or removing double && while ( ( stripos ( $ sUrl , '&amp;' ) !== false ) || ( stripos ( $ sUrl , '&&' ) !== false ) ) { $ sUrl = str_replace ( '&amp;' , '&' , $ sUrl ) ; $ sUrl = str_replace ( '&&' , '&' , $ sUrl ) ; } // converting & to &amp; return str_replace ( '&' , '&amp;' , $ sUrl ) ; }
processes urls by fixing "&amp;", "&"

@param string $sUrl processable url

@return string
processes urls by fixing &amp ; &