From 9c377143f286319dbc6e248cf01498d64f8e2975 Mon Sep 17 00:00:00 2001 From: JustOff Date: Sun, 14 Oct 2018 13:39:56 +0300 Subject: [PATCH] Properly handle special characters in the search string --- content/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/list.js b/content/list.js index 6caa286..8e90022 100644 --- a/content/list.js +++ b/content/list.js @@ -21,7 +21,7 @@ let List = { if (search === undefined || search == "list?q=") { search = ""; } else { - search = search.replace(/\+/g, " ") + search = decodeURIComponent(search.replace(/\+/g, " ")); document.getElementById("search-q").value = search; }