From 23bc662211d509ffa5d57de33f29bbeabaf76cd1 Mon Sep 17 00:00:00 2001 From: j Date: Fri, 6 Apr 2018 17:39:21 +0530 Subject: [PATCH] quote % --- static/js/utils.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/utils.js b/static/js/utils.js index b923954c..12d212ae 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -1052,7 +1052,8 @@ pandora.escapeQueryValue = function(value) { if (!Ox.isString(value)) { value = value.toString(); } - return value.replace(/_/g, '%09') + return value.replace(/%/, '%25') + .replace(/_/g, '%09') .replace(/\s/g, '_') .replace(//g, '%0F');