Closed davidmurdoch closed 11 years ago
Fixes issue https://github.com/visionmedia/node-querystring/issues/39: Empty fields removed when parsing array variables
Sadly, this PR is really outdated by now and can't be merged cleanly anymore. But AFAIK issue #39 still remains, though I can't test it right now.
@silvinci, it is still an issue.
Currently, when parsing a querystring, empty values are not included in the result. This adds a flag,
includeEmptyValues
, to the (new)options
object (express/connect already sends itsoptions
object here) allowing for the result to include empty values.2 new tests added. README.md updated to include an example. ./querystring.js has been rebuilt and all
./test/browser
scripts and styles have also been updated.