From: Jakub Skoczen Date: Wed, 12 Sep 2007 08:57:14 +0000 (+0000) Subject: pzHttpRequest: escape() used instead of encodeURI() for GET parameter values. X-Git-Tag: PAZPAR2.1.0.3~6 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=0ff1a97b2a69905755b9adb24a474d30f1c52150;p=pazpar2-moved-to-github.git pzHttpRequest: escape() used instead of encodeURI() for GET parameter values. --- diff --git a/js/pz2.js b/js/pz2.js index 0d61d04..581b77e 100644 --- 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 = '&'; } }