Encode the URI for the search. should certainly be done elsewhere.
fix #151
This commit is contained in:
parent
73e05fc96b
commit
5181c741d5
2
util.js
2
util.js
|
@ -391,7 +391,7 @@ function search_Submitted (event) {
|
|||
return;
|
||||
}
|
||||
event.preventDefault();
|
||||
var url = str_format ("index.php?page=9¤t={0}&query={1}&db={2}", currentData.page, $("input[name=query]").val (), currentData.databaseId);
|
||||
var url = str_format ("index.php?page=9¤t={0}&query={1}&db={2}", currentData.page, encodeURIComponent ($("input[name=query]").val ()), currentData.databaseId);
|
||||
navigateTo (url);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue