mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-29 12:53:44 +03:00
Use decodeURI when loading GET parameters
This commit is contained in:
parent
027d08cec7
commit
34879a4b35
|
@ -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]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user