-
Notifications
You must be signed in to change notification settings - Fork 334
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
Unable to encode + decode URL #799
Comments
The offending URL can be reduced to |
The issue comes from the remove dot segments step. Let's consider the URI
So it should be normalized to I have conducted a few tests with some URI normalization libraries:
For PHP, I am using https://github.com/glenscott/url-normalizer. In short:
I feel like Ruby's is the most consistent and straightforward solution. This does mean that the See #817 |
This code fails:
Found as part of fuzzing the trust-dns crate (which uses
Url
in CAA records).The text was updated successfully, but these errors were encountered: