From 417a7d3c2706ede2d8b94aa1c708bdcc39f10aae Mon Sep 17 00:00:00 2001 From: Simon Marsh Date: Sun, 20 Jan 2019 18:45:33 +0000 Subject: [PATCH] Fix form input encoding to allow '+' in queries. --- static/js/lg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/lg.js b/static/js/lg.js index ed2b023..516ab04 100644 --- a/static/js/lg.js +++ b/static/js/lg.js @@ -8,7 +8,7 @@ function reload(){ loc = "/" + request_type + "/" + hosts + "/" + proto; if (request_type != "summary" ){ if( request_args != undefined && request_args != ""){ - loc = loc + "?q=" + escape(request_args); + loc = loc + "?q=" + encodeURIComponent(request_args); change_url(loc) } } else {