// url UTF8 fix

This commit is contained in:
vChabot
2012-02-03 09:32:35 +00:00
parent 80aac72866
commit 8fa6e83be3

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();