-
-
Notifications
You must be signed in to change notification settings - Fork 456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect handling of arrays? #66
Labels
Comments
I believe this is intended. All node frameworks handle it correctly. |
What about adding config option for stringify and parse methods? |
The Gozala/querystring repo has the same PR: Gozala/querystring#10 |
Yeah sure, if someone does a good pull request with tests. |
rapzo
pushed a commit
to rapzo/query-string
that referenced
this issue
Nov 10, 2016
Highlighted in issue sindresorhus#66
See #79 |
Fixed by #79. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently if
query-string
encounters an array it encodes it without brackets:However that seems to go against the default browser behavior or one of other languages such as PHP. Shouldn't it be
foo[]=bar&foo[]=baz
?I know this is kind of a grey area of the RFC but that struck me as odd, is this intended?
The text was updated successfully, but these errors were encountered: