Fix form input encoding to allow '+' in queries.

This commit is contained in:
Simon Marsh 2019-01-20 18:45:33 +00:00
parent da571f9250
commit 417a7d3c27

View File

@ -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 {