rawurlencode

This commit is contained in:
Michael RICOIS 2018-02-15 11:27:33 +01:00
parent dc5beb562c
commit 44e2c88319

View File

@ -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_ ) {