rawurlencode
This commit is contained in:
parent
dc5beb562c
commit
44e2c88319
@ -63,7 +63,7 @@ class CategoryControllerCore extends FrontController
|
|||||||
$excludedKey = array('isolang', 'id_lang', 'id_category');
|
$excludedKey = array('isolang', 'id_lang', 'id_category');
|
||||||
foreach($_GET as $key => $value) {
|
foreach($_GET as $key => $value) {
|
||||||
if(!in_array($key, $excludedKey)) {
|
if(!in_array($key, $excludedKey)) {
|
||||||
$params .= ($params == '' ? '?' : '&').$key.'='.$value;
|
$params .= ($params == '' ? '?' : '&').$key.'='.rawurlencode($value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (defined('_PS_MODE_DEV_') AND _PS_MODE_DEV_ ) {
|
if (defined('_PS_MODE_DEV_') AND _PS_MODE_DEV_ ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user