diff options
author | Barney Gale <barney.gale@gmail.com> | 2024-10-30 22:56:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-30 22:56:58 (GMT) |
commit | 951cb2c369e8b8fb9f93662658391a53fd727787 (patch) | |
tree | 27a419cd6343c2249a8f72fc357c9b9cc371b9b4 /Misc/NEWS.d | |
parent | 2b2d607095335024e5e2bb358e3ef37650536839 (diff) | |
download | cpython-951cb2c369e8b8fb9f93662658391a53fd727787.zip cpython-951cb2c369e8b8fb9f93662658391a53fd727787.tar.gz cpython-951cb2c369e8b8fb9f93662658391a53fd727787.tar.bz2 |
GH-126205: Fix conversion of UNC paths to file URIs (#126208)
File URIs for Windows UNC paths should begin with two slashes, not four.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Library/2024-10-30-20-45-17.gh-issue-126205.CHEmtx.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-10-30-20-45-17.gh-issue-126205.CHEmtx.rst b/Misc/NEWS.d/next/Library/2024-10-30-20-45-17.gh-issue-126205.CHEmtx.rst new file mode 100644 index 0000000..c92ffb7 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2024-10-30-20-45-17.gh-issue-126205.CHEmtx.rst @@ -0,0 +1,2 @@ +Fix issue where :func:`urllib.request.pathname2url` generated URLs beginning +with four slashes (rather than two) when given a Windows UNC path. |