-
-
Notifications
You must be signed in to change notification settings - Fork 170
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
URL path with "/../" #297
Labels
Comments
Hi, is this issue still open? |
I think https://www.example.com/../example.jpg is an invalid path; there is no parent folder in |
It is invalid but unfortunately appears on some websites that is why all browsers seem to convert it. Shouldn't yarl do the same? |
yarl shouldn't be as forgiving as a human-oriented web browser. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yarl==1.2.6 converts a URL like https://www.example.com/../example.jpg to https://www.example.com/example.jpg just fine.
In yarl==1.3.0 that was changed and now throws a ValueError instead.
Should that be the expected behaviour? It was already closed once: #84
The text was updated successfully, but these errors were encountered: