-
-
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
TypeError: decodeComponents(...).join is not a function #5
Comments
This is now fixed in v0.2.1. |
6 tasks
I somehow haven't seen the update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Crash occured when
%ea%ba%5a%ba
is parsed bydecodeUriComponent
This function is used in some other nodejs projects for decoding query strings and hash strings in url, for example the hash
# kun%ea%ba%5a%ba
is valid and should be parsed correctly as{ ' kun%ea%ba%5a%ba': null }
For example in chrome's development tools' console the url
https://google.com# kun%ea%ba%5a%ba
can be parsed without problems:Code to reproduce
Results
TypeError: decodeComponents(...).join is not a function
The text was updated successfully, but these errors were encountered: