// url UTF8 fix

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12957 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vChabot
2012-02-03 09:32:35 +00:00
parent 57a5260700
commit a5a8df50b2
+1
View File
@@ -559,6 +559,7 @@ class FrontControllerCore extends Controller
return;
$matchUrl = (($this->ssl && Configuration::get('PS_SSL_ENABLED')) ? 'https://' : 'http://').$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
$matchUrl = rawurldecode($matchUrl);
if (!preg_match('/^'.Tools::pRegexp($canonicalURL, '/').'([&?].*)?$/', $matchUrl))
{
$params = array();