From 0ff1a97b2a69905755b9adb24a474d30f1c52150 Mon Sep 17 00:00:00 2001 From: Jakub Skoczen Date: Wed, 12 Sep 2007 08:57:14 +0000 Subject: [PATCH] pzHttpRequest: escape() used instead of encodeURI() for GET parameter values. --- js/pz2.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 = '&'; } } -- 1.7.10.4