[Pkg-javascript-commits] [pdf.js] 88/204: Lowerize the params to allow case sensitive
David Prévot
taffit at moszumanska.debian.org
Sat Oct 25 18:50:36 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository pdf.js.
commit 4623f202215597a21d87d027526182d002618f13
Author: Manuel Padrón Martínez <manolopm at graph-ic.org>
Date: Thu Sep 18 19:42:04 2014 +0100
Lowerize the params to allow case sensitive
---
web/viewer.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/viewer.js b/web/viewer.js
index ae047c7..b31378c 100644
--- a/web/viewer.js
+++ b/web/viewer.js
@@ -1555,7 +1555,7 @@ var PDFView = {
var params = {};
for (var i = 0, ii = parts.length; i < ii; ++i) {
var param = parts[i].split('=');
- var key = param[0];
+ var key = param[0].toLowerCase();
var value = param.length > 1 ? param[1] : null;
params[decodeURIComponent(key)] = decodeURIComponent(value);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git
More information about the Pkg-javascript-commits
mailing list