[-] FO: Fix #PSCFV-4011

This commit is contained in:
rGaillard
2012-09-12 10:23:46 +00:00
parent 54a1607faf
commit d062533388
2 changed files with 18 additions and 3 deletions
+1 -2
View File
@@ -644,8 +644,7 @@ class FrontControllerCore extends Controller
foreach ($query as $key => $value)
$params[Tools::safeOutput($key)] = Tools::safeOutput($value);
}
$excluded_key = array('isolang', 'id_lang', 'controller', 'fc');
$excluded_key = array('isolang', 'id_lang', 'controller', 'fc', 'id_product', 'id_category', 'id_manufacturer', 'id_supplier', 'id_cms');
foreach ($_GET as $key => $value)
if (!in_array($key, $excluded_key) && Validate::isUrl($key) && Validate::isUrl($value))
$params[Tools::safeOutput($key)] = Tools::safeOutput($value);