Fix form input encoding to allow '+' in queries.
This commit is contained in:
parent
da571f9250
commit
417a7d3c27
@ -8,7 +8,7 @@ function reload(){
|
|||||||
loc = "/" + request_type + "/" + hosts + "/" + proto;
|
loc = "/" + request_type + "/" + hosts + "/" + proto;
|
||||||
if (request_type != "summary" ){
|
if (request_type != "summary" ){
|
||||||
if( request_args != undefined && request_args != ""){
|
if( request_args != undefined && request_args != ""){
|
||||||
loc = loc + "?q=" + escape(request_args);
|
loc = loc + "?q=" + encodeURIComponent(request_args);
|
||||||
change_url(loc)
|
change_url(loc)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user