GH-126212: Fix removal of slashes in file URIs on Windows (#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.
B
Barney Gale committed
54c63a32d06cb5f07a66245c375eac7d7efb964a
Parent: fa40922
Committed by GitHub <noreply@github.com>
on 11/8/2024, 4:47:51 PM