GH-126766: url2pathname()
: handle 'localhost' authority by barneygale · Pull Request #127129 · python/cpython (original) (raw)
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation3 Commits2 Checks38 Files changed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})
Contributor
barneygale commented
•
edited by bedevere-appbot
Loading
Discard any 'localhost' authority from the beginning of a file:
URI. As a
result, file URIs like //localhost/etc/hosts
are correctly decoded as
/etc/hosts
.
Thanks @barneygale for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
Discard any 'localhost' authority from the beginning of a file:
URI. As a
result, file URIs like //localhost/etc/hosts
are correctly decoded as
/etc/hosts
.
(cherry picked from commit ebf564a)
Co-authored-by: Barney Gale barney.gale@gmail.com
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
Discard any 'localhost' authority from the beginning of a file:
URI. As a
result, file URIs like //localhost/etc/hosts
are correctly decoded as
/etc/hosts
.
(cherry picked from commit ebf564a)
Co-authored-by: Barney Gale barney.gale@gmail.com
barneygale added a commit that referenced this pull request
GH-126766: url2pathname()
: handle 'localhost' authority (GH-127129)
Discard any 'localhost' authority from the beginning of a file:
URI. As a
result, file URIs like //localhost/etc/hosts
are correctly decoded as
/etc/hosts
.
(cherry picked from commit ebf564a)
Co-authored-by: Barney Gale barney.gale@gmail.com
barneygale added a commit that referenced this pull request
GH-126766: url2pathname()
: handle 'localhost' authority (GH-127129)
Discard any 'localhost' authority from the beginning of a file:
URI. As a
result, file URIs like //localhost/etc/hosts
are correctly decoded as
/etc/hosts
.
(cherry picked from commit ebf564a)
Co-authored-by: Barney Gale barney.gale@gmail.com
ebonnal pushed a commit to ebonnal/cpython that referenced this pull request
Discard any 'localhost' authority from the beginning of a file:
URI. As a
result, file URIs like //localhost/etc/hosts
are correctly decoded as
/etc/hosts
.
1 participant