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
Requests to urls containing 'javascript' are failing #2646
Comments
In addtion, all Urls containing parameter starting with on... are failing. Expected behavior: axios should accept parameter starting with on |
In addtion, my case: A static html file loading a bundled script. |
+1 have problem with path |
I have the same problem with |
I have the same issue with ?onlyWithFlights=true |
A new version is urgently needed to solve this problem |
Same here with an internal url which contain |
I honestly would deprecated 0.19.1 as soon as possible. This can cause major problem on production apps. |
I have the same error when the url contains |
@baconcheese113 It's a common error occurs in RN. Please reinstall all dependencies in node_modules and do some cleaning cache operations. If you think even a simple Node.js script will thrown such error, feel free to open a new issue with detailed information. |
It seems that axios v0.19.1 introduced a new bug.
The bug comes from #2464
All urls containing
javascript
keyword is throwing XSS error. So, all following urls cannot be used in axios any more:Here is a link to regexp: https://regexr.com/4rsst
Expected behavior: axios should accept
javascript
in urlsThe text was updated successfully, but these errors were encountered: