mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-26 03:13:45 +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) {
|
||||
var pair = vars[i].split("=");
|
||||
if (pair[0] == name)
|
||||
return pair[1];
|
||||
return decodeURI(pair[1]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user