tj / node-querystring

querystring parser for node and the browser - supporting nesting (used by Express, Connect, etc)
MIT License
455 stars 66 forks source link

Fixed erroneous keys being returned #16

Closed cscade closed 13 years ago

cscade commented 13 years ago

Prototype methods on the Array native would be returned as if they were part of query string data.

Switching the initial value to an Object literal rather than an Array literal resolves the issue.

make test: 100% 13 tests

tj commented 13 years ago

a test or two for the failure would be great so we dont regress at some point

cscade commented 13 years ago

Ask & ye shall receive!

tj commented 13 years ago

awesome thanks man

tj commented 13 years ago

merged