1
0
Fork 0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-03-03 08:32:37 +01:00

Fix query input trailing spaces

This commit is contained in:
Andrea Cardaci 2020-02-07 00:19:24 +01:00
parent 236f88cd34
commit a59e79e31c

View File

@ -106,7 +106,7 @@
// handle user input
searchBox.addEventListener('input', function () {
var query = searchBox.value;
history.replaceState(null, null, '#' + query);
history.replaceState(null, null, encodeURI('#' + query));
applyFilter();
});