From 44e2c883191c3c00ea1c77809a8f20c9b84781a6 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Thu, 15 Feb 2018 11:27:33 +0100 Subject: [PATCH] rawurlencode --- controllers/CategoryController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/CategoryController.php b/controllers/CategoryController.php index bde01839..1e67a08c 100755 --- a/controllers/CategoryController.php +++ b/controllers/CategoryController.php @@ -63,7 +63,7 @@ class CategoryControllerCore extends FrontController $excludedKey = array('isolang', 'id_lang', 'id_category'); foreach($_GET as $key => $value) { if(!in_array($key, $excludedKey)) { - $params .= ($params == '' ? '?' : '&').$key.'='.$value; + $params .= ($params == '' ? '?' : '&').$key.'='.rawurlencode($value); } } if (defined('_PS_MODE_DEV_') AND _PS_MODE_DEV_ ) {