mirror of
https://github.com/python/cpython.git
synced 2024-11-27 23:47:29 +01:00
54c63a32d0
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.
4 lines
148 B
ReStructuredText
4 lines
148 B
ReStructuredText
Fix issue where :func:`urllib.request.pathname2url` and
|
|
:func:`~urllib.request.url2pathname` removed slashes from Windows DOS drive
|
|
paths and URLs.
|