From d8d8395f5acc7321731206bb43e74ac86b7e08fb Mon Sep 17 00:00:00 2001 From: re0ne Date: Tue, 1 Sep 2015 23:00:39 +0300 Subject: [PATCH] Minor fixes --- templates/client/static_client/js/banners.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/client/static_client/js/banners.js b/templates/client/static_client/js/banners.js index bd32b4fb..1f6126ca 100644 --- a/templates/client/static_client/js/banners.js +++ b/templates/client/static_client/js/banners.js @@ -15,10 +15,10 @@ if (value instanceof Array) { for (var i = 0, l = value.length; i < l; i++) { - search.push(key + "=" + value[i]); + search.push(encodeURIComponent(key) + "=" + encodeURIComponent(value[i])); } } else { - search.push(key + "=" + value); + search.push(encodeURIComponent(key) + "=" + encodeURIComponent(value)); } } }