Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

String.parseQueryString() bug #1123

Open
piotr-cz opened this Issue · 0 comments

1 participant

@piotr-cz

Happens when using encoded arrays as keys

see
http://jsfiddle.net/piotr_cz/y28zb/

Problem is that keys are being parsed using RegEx to arrays and then decoded. Should be other way around.

keys = index ? val.substr(0, index - 1).match(/([^\]\[]+|(\B)(?=\]))/g) : [val],
...
keys.each(function(key, i){
                if (decodeKeys) key = decodeURIComponent(key);

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.