]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] GH-126205: Fix conversion of UNC paths to file URIs (GH-126208) (#126249)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 31 Oct 2024 16:58:56 +0000 (17:58 +0100)
committerGitHub <noreply@github.com>
Thu, 31 Oct 2024 16:58:56 +0000 (16:58 +0000)
commit588da2e26a986cb94d9e2aee57f6ecd965adf918
treef5f3c71856a2a99d60a8478b6d5a9ebc4d0e0574
parent80042384b477519ee2b137a841b5a825675bedf5
[3.13] GH-126205: Fix conversion of UNC paths to file URIs (GH-126208) (#126249)

GH-126205: Fix conversion of UNC paths to file URIs (GH-126208)

File URIs for Windows UNC paths should begin with two slashes, not four.
(cherry picked from commit 951cb2c369e8b8fb9f93662658391a53fd727787)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
Lib/nturl2path.py
Lib/test/test_urllib.py
Misc/NEWS.d/next/Library/2024-10-30-20-45-17.gh-issue-126205.CHEmtx.rst [new file with mode: 0644]