diff --git a/lib/Parse.js b/lib/Parse.js index 81c2418..18f6d40 100644 --- a/lib/Parse.js +++ b/lib/Parse.js @@ -52,7 +52,7 @@ Parse.prototype = { // check to see if there is a 'where' object in the query object // the 'where' object need to be stringified by JSON.stringify(), not querystring if ( query.hasOwnProperty('where') ) { - url += '?where=' + JSON.stringify(query.where); + url += '?where=' + encodeURIComponent(JSON.stringify(query.where)); delete query.where; }