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

fail to parse empty array #108

Closed jamesb0nd closed 10 years ago

jamesb0nd commented 10 years ago

Query string is: a[]=

Result is: a: Array[0], length is 0

Should be: a: Array[1], length is 1 and a[0] = ''

jonathanong commented 10 years ago

looks correct me. what you want is a[0]=