-
-
Notifications
You must be signed in to change notification settings - Fork 32k
GH-120423: pathname2url()
: handle forward slashes in Windows paths
#126593
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
…paths Adjust `urllib.request.pathname2url()` so that forward slashes in Windows paths are handled identically to backward slashes.
Thanks @barneygale for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
Thanks @barneygale for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Thanks @barneygale for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Thanks @barneygale for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Thanks @barneygale for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
…paths (pythonGH-126593) Adjust `urllib.request.pathname2url()` so that forward slashes in Windows paths are handled identically to backward slashes. (cherry picked from commit bf224bd) Co-authored-by: Barney Gale <[email protected]>
…paths (pythonGH-126593) Adjust `urllib.request.pathname2url()` so that forward slashes in Windows paths are handled identically to backward slashes. (cherry picked from commit bf224bd) Co-authored-by: Barney Gale <[email protected]>
GH-126763 is a backport of this pull request to the 3.12 branch. |
GH-126764 is a backport of this pull request to the 3.13 branch. |
… paths (GH-126593) (#126763) GH-120423: `pathname2url()`: handle forward slashes in Windows paths (GH-126593) Adjust `urllib.request.pathname2url()` so that forward slashes in Windows paths are handled identically to backward slashes. (cherry picked from commit bf224bd) Co-authored-by: Barney Gale <[email protected]>
… paths (GH-126593) (#126764) GH-120423: `pathname2url()`: handle forward slashes in Windows paths (GH-126593) Adjust `urllib.request.pathname2url()` so that forward slashes in Windows paths are handled identically to backward slashes. (cherry picked from commit bf224bd) Co-authored-by: Barney Gale <[email protected]>
…paths (python#126593) Adjust `urllib.request.pathname2url()` so that forward slashes in Windows paths are handled identically to backward slashes.
…paths (python#126593) Adjust `urllib.request.pathname2url()` so that forward slashes in Windows paths are handled identically to backward slashes.
Adjust
urllib.request.pathname2url()
so that forward slashes in Windows paths are handled identically to backward slashes. This fixes an issue wherepathname2url()
would not properly recognise some UNC paths that use forward slashesnturl2path.pathname2url()
doesn't handle forward slashes #120423