From: Jakub Skoczen Date: Fri, 1 Jun 2007 09:19:58 +0000 (+0000) Subject: Encoding the URI properly . X-Git-Tag: PAZPAR2.1.0.0~84 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=fca562549bc185f9bbde0a2bb7219a5083803a46;p=pazpar2-moved-to-github.git Encoding the URI properly . --- diff --git a/js/pz2.js b/js/pz2.js index cb5a0e7..9eaae43 100644 --- a/js/pz2.js +++ b/js/pz2.js @@ -1,5 +1,5 @@ /* -** $Id: pz2.js,v 1.27 2007-06-01 08:25:53 jakub Exp $ +** $Id: pz2.js,v 1.28 2007-06-01 09:19:58 jakub Exp $ ** pz2.js - pazpar2's javascript client library. */ @@ -533,7 +533,7 @@ pzHttpRequest.prototype = var paramArr = new Array(); for ( var key in params ) { - paramArr.push(key + '=' + params[key] ); + paramArr.push(key + '=' + encodeURI(params[key]) ); } if ( paramArr.length )