-
Notifications
You must be signed in to change notification settings - Fork 30k
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
querystring inconsistent behaviour #33910
Comments
Note that the version running within Firefox is likely a browserified version that is derived from the Node.js version. That's a bit of a guess without seeing the code but it is possible for there to be differences in the way they are implemented. We do not provide support for browserified ports of the core modules. |
I guess that |
I create a PR #33918. There were some errors at early commit, now it is fixed. |
great job mate, that was pretty quick. |
Fixed by #33918 |
The module querystring presents odd behaviour and inconsistent across platforms.
On NodeJs v14.2 x86_64 GNU/Linux
Parsing an object with an empty array into a querystring yields & with no element.
On Firefox 77.0.1 (64-bit)
Yet, when using the module in a react application with client side rendering the result is as follows:
This issue can lead to some of the following malformed URLs which may fault some server parsers. (My experience was with WSGI server)
The text was updated successfully, but these errors were encountered: