mirror of
https://github.com/python/cpython.git
synced 2025-12-09 02:35:14 +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
|
|
@ -0,0 +1,3 @@
|
|||
Fix issue where :func:`urllib.request.url2pathname` raised :exc:`OSError`
|
||||
when given a Windows URI containing a colon character not following a drive
|
||||
letter, such as before an NTFS alternate data stream.
|
||||
Loading…
Add table
Add a link
Reference in a new issue