[Pcsclite-git-commit] [website] 02/03: Reader selection: decode %20 and others
Ludovic Rousseau
rousseau at moszumanska.debian.org
Sun Oct 4 11:47:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
rousseau pushed a commit to branch master
in repository website.
commit df085da197bcc9e6dd3cd4ab825a38ef5f23f65d
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date: Sun Oct 4 13:44:03 2015 +0200
Reader selection: decode %20 and others
Some URI contains spaces coded as %20 like in "?features=3 slots".
The code new convert %xy encoding to the correct caracter.
---
select_readers/js/main.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/select_readers/js/main.js b/select_readers/js/main.js
index 89690ad..4ae060a 100644
--- a/select_readers/js/main.js
+++ b/select_readers/js/main.js
@@ -341,7 +341,7 @@ function parse_url() {
Filter[index] = [];
Filter[index][0] = pair[0];
Filter[index][1] = relations[relation];
- Filter[index][2] = pair[1];
+ Filter[index][2] = decodeURI(pair[1]);
index += 1;
// Add a new filter to the interface
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/website.git
More information about the Pcsclite-cvs-commit
mailing list