-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
Don't crash on invalid uri query parameters. #3453
Conversation
The router offers an |
I don't know that not call |
|
path: /#/% PS: Sorry, I am not good at English. I am able to speak rudely. Thank you for your understanding. |
I see – we should catch the error there from |
What if add |
It doesn't need that – it's synchronous. |
So, you mean I should handle error in |
I am saying to just add a |
I modified it that you saying. Is it fine? |
Thanks! LGTM. |
Replace decodeURIComponent with _tryDecodeURIComponent to ignore crash "URIError: malformed URI sequence".