diff --git a/static/js/lg.js b/static/js/lg.js index 18424b0..358fc95 100644 --- a/static/js/lg.js +++ b/static/js/lg.js @@ -14,7 +14,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 { diff --git a/templates/layout.html b/templates/layout.html index a5e92f0..34071b0 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -84,7 +84,7 @@