You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
url2pathname() mishandles URL with Windows drive in netloc #137059
Windows-specific regression in Python 3.14 caused by d783d7b
Some programs generate file URLs by adding a file:// prefix to a path. On Windows, this can result in URLs like file://C:/foo. Though these URLs are malformed, they were correctly handled by urllib.request.url2pathname() until 3.14.
changed the title [-]`url2pathname()` mishandles URLs with Windows drive in netloc[/-][+]`url2pathname()` mishandles URL with Windows drive in netloc[/+]on Jul 23, 2025
Activity
[-]`url2pathname()` mishandles URLs with Windows drive in netloc[/-][+]`url2pathname()` mishandles URL with Windows drive in netloc[/+]pythonGH-137059: `url2pathname()`: fix support for drive letter in ne…
serhiy-storchaka commentedon Jul 24, 2025
Note that there will also be issues if the path contains
#(after #136874) or%. On Posix -- also if the path contains?.GH-137059: `url2pathname()`: fix support for drive letter in netloc (#…
pythonGH-137059: `url2pathname()`: fix support for drive letter in ne…
[3.14] GH-137059: `url2pathname()`: fix support for drive letter in n…
pythonGH-137059: `url2pathname()`: fix support for drive letter in ne…
[3.14] pythonGH-137059: `url2pathname()`: fix support for drive lette…