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
v3 incorrectly strips out GET params [?] #749
Comments
Can't reproduce on Windows 10/Node v13.9.0 with your example code. Tried it a bit and then modified the script to run a couple thousand times. -> (node:7816) ExperimentalWarning: The ESM module loader is experimental.
srv /api/getStuff?a=tra
yo |
I have prepared a repository: Use I have also built and published images on docker hub: In every environment this behaves the same for me (that's why I've build docker images so you can see it too if this somehow runs correctly on your machine) If I run docker images on my Linux machine it behave the same as when run from windows:
Please take another look at it |
node-fetch does not consider query strings
will result to
|
Fixed by #759 |
Example code, use Node 13.2+:
index.mjs
With
3.0.0-beta.4
version ofnode-fetch
you'll see justsrv /api/getStuff
in the consoleWith
2.6.0
you will seesrv /api/getStuff?a=tra
- as expectedSo it looks like somehow GET query params gets stripped out.
The text was updated successfully, but these errors were encountered: