Use decodeURI when loading GET parameters

This commit is contained in:
Lonami Exo 2018-12-15 11:27:58 +01:00
parent 027d08cec7
commit 34879a4b35

View File

@ -202,7 +202,7 @@ function getQuery(name) {
for (var i = 0; i != vars.length; ++i) { for (var i = 0; i != vars.length; ++i) {
var pair = vars[i].split("="); var pair = vars[i].split("=");
if (pair[0] == name) if (pair[0] == name)
return pair[1]; return decodeURI(pair[1]);
} }
} }