String.parseQueryString() bug #1123

piotr-cz opened this Issue Apr 30, 2012 · 0 comments


None yet

1 participant

piotr-cz commented Apr 30, 2012 edited by arian

Happens when using encoded arrays as keys


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