Fix parseQueryString -- use decodeURIComponent instead of unescape

This commit is contained in:
mete0r 2013-04-20 21:23:44 +09:00
parent 49ff029f5f
commit 66cb12822d

View File

@ -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;
},