diff options
author | Barney Gale <barney.gale@gmail.com> | 2024-11-12 19:52:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-12 19:52:30 (GMT) |
commit | bf224bd7cef5d24eaff35945ebe7ffe14df7710f (patch) | |
tree | 0fedcebce61343cc6061ad3f0ed53abea8aafc6c /Misc/NEWS.d/next | |
parent | 7577307ebdaeef6702b639e22a896080e81aae4e (diff) | |
download | cpython-bf224bd7cef5d24eaff35945ebe7ffe14df7710f.zip cpython-bf224bd7cef5d24eaff35945ebe7ffe14df7710f.tar.gz cpython-bf224bd7cef5d24eaff35945ebe7ffe14df7710f.tar.bz2 |
GH-120423: `pathname2url()`: handle forward slashes in Windows paths (#126593)
Adjust `urllib.request.pathname2url()` so that forward slashes in Windows
paths are handled identically to backward slashes.
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r-- | Misc/NEWS.d/next/Library/2024-11-08-17-05-10.gh-issue-120423.7rdLVV.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-11-08-17-05-10.gh-issue-120423.7rdLVV.rst b/Misc/NEWS.d/next/Library/2024-11-08-17-05-10.gh-issue-120423.7rdLVV.rst new file mode 100644 index 0000000..b475257 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2024-11-08-17-05-10.gh-issue-120423.7rdLVV.rst @@ -0,0 +1,2 @@ +Fix issue where :func:`urllib.request.pathname2url` mishandled Windows paths +with embedded forward slashes. |