Skip to content

Commit

Permalink
dojo#203 resolve issue with parens in Request filter. Not
Browse files Browse the repository at this point in the history
sure if a complete solution, but appears to work at least for the eq
operator.
  • Loading branch information
mbecroft committed Mar 9, 2017
1 parent ffb8550 commit 791edc3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Request.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ define([
target = '(' + target + ')';
}
}
return [encodeURIComponent(args[0]) + '=' + (type === 'eq' ? '' : type + '=') + encodeURIComponent(target)];
return [encodeURIComponent(args[0]) + '=' + (type === 'eq' ? '' : type + '=') +
encodeURIComponent(target).replace(/\(/g, "%28").replace(/\)/g, "%29")];
},
_renderSortParams: function (sort) {
// summary:
Expand Down Expand Up @@ -293,4 +294,4 @@ define([
}
});

});
});

0 comments on commit 791edc3

Please sign in to comment.