From 6118bf3c3adaa542c9461905ce7d9304ff79e6ce Mon Sep 17 00:00:00 2001 From: j Date: Wed, 15 Sep 2021 14:02:36 +0200 Subject: [PATCH] escape & --- static/js/utils.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/utils.js b/static/js/utils.js index 861e9b9a1..8b626fd5c 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -1110,7 +1110,9 @@ pandora.escapeQueryValue = function(value) { if (!Ox.isString(value)) { value = value.toString(); } - return value.replace(/%/, '%25') + return value + .replace(/%/, '%25') + .replace(/&/, '%26') .replace(/_/g, '%09') .replace(/\s/g, '_') .replace(/