-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Cannot use unicode in redirect
URLs
#5508
Comments
This is fixed by #5482, but I need some time to properly review it because it is security related. In the meantime you can always build the redirect yourself. Thanks! |
That makes a lot of sense, I didn't give much thought to the security implications. Thanks for the great framework! 🙂 |
Environment
Actual behavior
When upgrading to 1.7.6, I received errors about invalid characters for a redirect to this URL:
~p"/traditional/characters/手"
Looking through the commit history, recently there were percents added as invalid characters for a
redirect
url.Percents are necessary for encoding unicode into URLs, but I can no longer use unicode URLs for redirects.
Expected behavior
We should be able to use unicode URLs within redirects.
There's a PR #5482 that solves this issue while still taking care of the vulnerability which originated this, #5415
The text was updated successfully, but these errors were encountered: