Skip to content
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

[3.13] GH-126212: Fix removal of slashes in file URIs on Windows (GH-126214) #126590

Merged
merged 1 commit into from
Nov 8, 2024

Commits on Nov 8, 2024

  1. pythonGH-126212: Fix removal of slashes in file URIs on Windows (pyth…

    …onGH-126214)
    
    Adjust `urllib.request.pathname2url()` and `url2pathname()` so that they
    don't remove slashes from Windows DOS drive paths and URLs. There was no
    basis for this behaviour, and it conflicts with how UNC and POSIX paths are
    handled.
    (cherry picked from commit 54c63a3)
    
    Co-authored-by: Barney Gale <[email protected]>
    barneygale authored and miss-islington committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    71b4e16 View commit details
    Browse the repository at this point in the history