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() doesn't handle URL query or fragment components #136874
I think they should be silently discarded as they have no bearing on the filesystem path (similar to how we discard the netloc if it's a local hostname).
Activity
pythonGH-136874: `url2pathname()`: discard query and fragment components
pythonGH-136874: `url2pathname()`: discard query and fragment components
GH-136874: `url2pathname()`: discard query and fragment components (#…
pythonGH-136874: `url2pathname()`: discard query and fragment compone…
[3.14] GH-136874: `url2pathname()`: discard query and fragment compon…
emmatyping commentedon Jul 23, 2025
I believe this can be closed now that the PRs have been merged?
barneygale commentedon Jul 23, 2025
Yes, thanks for the nudge @emmatyping!
pythonGH-136874: `url2pathname()`: discard query and fragment compone…
pythonGH-136874: `url2pathname()`: discard query and fragment compone…
[3.14] pythonGH-136874: `url2pathname()`: discard query and fragment …