mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
GH-126367: url2pathname()
: handle NTFS alternate data streams (#131428)
Adjust `url2pathname()` to decode embedded colon characters in Windows URIs, rather than bailing out with an `OSError`.
This commit is contained in:
parent
01b5abbc53
commit
d783d7b51d
4 changed files with 20 additions and 17 deletions
|
@ -182,7 +182,9 @@ The :mod:`urllib.request` module defines the following functions:
|
|||
'C:\\Program Files'
|
||||
|
||||
.. versionchanged:: 3.14
|
||||
Windows drive letters are no longer converted to uppercase.
|
||||
Windows drive letters are no longer converted to uppercase, and ``:``
|
||||
characters not following a drive letter no longer cause an
|
||||
:exc:`OSError` exception to be raised on Windows.
|
||||
|
||||
|
||||
.. function:: getproxies()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue