1
0
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:
Marius Elsfjordstrand Beck 2021-07-07 06:07:07 +02:00 committed by GitHub
parent 096850b41d
commit 843fe28ed8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,7 +122,7 @@ function clearFilters(event) {
}
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)
.children;
if (filterExpressions.length) {