URI.toString() generates incorrect result when there are multiple values for the same key #1028

kmike opened this Issue Sep 20, 2011 · 1 comment


None yet
1 participant

kmike commented Sep 20, 2011 edited by arian

I think the following should be supported:

uri.setData(uri.getData()).toString() == uri.toString() 

and this is not the case now: http://jsfiddle.net/J7tMj/

cat=1&cat=2 are different GET parameters than cat[0]=1&cat[1]=2

See also #1027.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.


kmike commented Sep 20, 2011

Hm, that's Object.toQueryString who doesn't allow multiple GET parameters with the same name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment