1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-12-04 01:29:32 +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

@ -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();
});