mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
Encode url search parameter when performing query (#657)
This commit is contained in:
parent
096850b41d
commit
843fe28ed8
@ -122,7 +122,7 @@ function clearFilters(event) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function performQuery(url) {
|
function performQuery(url) {
|
||||||
var query = [window.wb_prefix + '*?url=' + url];
|
var query = [window.wb_prefix + '*?url=' + encodeURIComponent(url)];
|
||||||
var filterExpressions = document.getElementById(elemIds.filtering.list)
|
var filterExpressions = document.getElementById(elemIds.filtering.list)
|
||||||
.children;
|
.children;
|
||||||
if (filterExpressions.length) {
|
if (filterExpressions.length) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user