[-] FO: Fix #PSCFV-4011
This commit is contained in:
@@ -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