mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Merge pull request #3128 from mete0r/master
Use decodeURIComponent instead of unescape in parseQueryString() in viewer.js
This commit is contained in:
commit
9c9ed2f2a1
1 changed files with 1 additions and 1 deletions
|
@ -1785,7 +1785,7 @@ var PDFView = {
|
|||
var param = parts[i].split('=');
|
||||
var key = param[0];
|
||||
var value = param.length > 1 ? param[1] : null;
|
||||
params[unescape(key)] = unescape(value);
|
||||
params[decodeURIComponent(key)] = decodeURIComponent(value);
|
||||
}
|
||||
return params;
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue