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

Passing an array from Parse into stringify yields different output #72

Closed kenperkins closed 10 years ago

kenperkins commented 10 years ago

var input = 'id=1&id=2';
qs.stringify(qs.parse(input));

output:

'id[0]=1&id[1]=2'
tj commented 10 years ago

rad thanks, I'll try and look into this soon

buschtoens commented 10 years ago

I personally find, that we shouldn't focus on returning the same output as the input (which is impossible anyways). We should focus one returning the shortest possible output.

Yeah, so basically this is a duplicate of #71. Closing, if you don't mind. ;)