-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
GH-136874: url2pathname()
: discard query and fragment components
#136875
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
Conversation
In `urllib.request.url2pathname()`, ignore any query or fragment components in the given URL.
@hugovk is this OK to backport into 3.14 once approved? It's somewhere between a bugfix and a feature enhancement I think. (3.14 contains a bevy of related improvements to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
As a feature, no; as a bugfix, yes. So you can merge and backport as a bugfix, if done before tomorrow morning for RC1. |
Thanks @barneygale for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14. |
…nts (pythonGH-136875) In `urllib.request.url2pathname()`, ignore any query or fragment components in the given URL. (cherry picked from commit 80b2d60) Co-authored-by: Barney Gale <barney.gale@gmail.com>
GH-136942 is a backport of this pull request to the 3.14 branch. |
In
urllib.request.url2pathname()
, ignore any query or fragment components in the given URL.url2pathname()
doesn't handle URL query or fragment components #136874📚 Documentation preview 📚: https://cpython-previews--136875.org.readthedocs.build/