projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eae7485
)
pzHttpRequest: escape() used instead of encodeURI() for GET parameter values.
author
Jakub Skoczen
<jakub@indexdata.dk>
Wed, 12 Sep 2007 08:57:14 +0000
(08:57 +0000)
committer
Jakub Skoczen
<jakub@indexdata.dk>
Wed, 12 Sep 2007 08:57:14 +0000
(08:57 +0000)
js/pz2.js
patch
|
blob
|
history
diff --git
a/js/pz2.js
b/js/pz2.js
index
0d61d04
..
581b77e
100644
(file)
--- a/
js/pz2.js
+++ b/
js/pz2.js
@@
-1,5
+1,5
@@
/*
-** $Id: pz2.js,v 1.55 2007-09-11 15:52:13 jakub Exp $
+** $Id: pz2.js,v 1.56 2007-09-12 08:57:14 jakub Exp $
** pz2.js - pazpar2's javascript client library.
*/
@@
-655,7
+655,7
@@
pzHttpRequest.prototype =
var el = params;
for (var key in el) {
if (el[key] != null) {
- getUrl += sep + key + '=' + encodeURI(el[key]);
+ getUrl += sep + key + '=' + escape(el[key]);
sep = '&';
}
}