Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/Parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down