From 34879a4b357a6c4bd02b5b2a46aea81621e90241 Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Sat, 15 Dec 2018 11:27:58 +0100 Subject: [PATCH] Use decodeURI when loading GET parameters --- telethon_generator/data/html/js/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telethon_generator/data/html/js/search.js b/telethon_generator/data/html/js/search.js index 6c7f2207..7968ccf8 100644 --- a/telethon_generator/data/html/js/search.js +++ b/telethon_generator/data/html/js/search.js @@ -202,7 +202,7 @@ function getQuery(name) { for (var i = 0; i != vars.length; ++i) { var pair = vars[i].split("="); if (pair[0] == name) - return pair[1]; + return decodeURI(pair[1]); } }