-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
+ should be decoded to +, not to a space #3
+ should be decoded to +, not to a space #3
Comments
See this comment. I don't think |
Of course it's responsible https://github.com/SamVerschueren/decode-uri-component/blob/main/index.js#L86, and it also breaks Not sure how this pkg was ever a "better decodeURIComponent" (as it claims to be) but you should definitely avoid using it, and better avoid query-string as well if you can - native solutions are better and certainly better maintained. If you have |
Try decoding When I created this package (which was specifically made for cc @sindresorhus do you think that makes sense? |
Yes, the special |
Ok, I'll remove the |
Released as 0.3.0. |
Found a bug in my our project because of this lib https://www.npmjs.com/package/query-string depends on your library which basically incompatible with industry standard https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify
The text was updated successfully, but these errors were encountered: