Fix parseQueryString -- use decodeURIComponent instead of unescape
This commit is contained in:
parent
49ff029f5f
commit
66cb12822d
@ -1776,7 +1776,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…
x
Reference in New Issue
Block a user