[-] FO: Fix #PSCFV-4011
This commit is contained in:
1 parent
54a1607faf
commit
d062533388
2 files changed
+18
-3
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user