]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] GH-126205: Fix conversion of UNC paths to file URIs (GH-126208) (#126248)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 31 Oct 2024 16:59:15 +0000 (17:59 +0100)
committerGitHub <noreply@github.com>
Thu, 31 Oct 2024 16:59:15 +0000 (16:59 +0000)
commit78f307f39e6d3f4ebb172140945ad2ec1ee10811
treea981ca0c5476c22d06a38c38c50db1c66ebf9376
parent3416ffaa0844477e006eb1245992262d4cf2e69a
[3.12] GH-126205: Fix conversion of UNC paths to file URIs (GH-126208) (#126248)

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]