Skip to content

Conversation

@orsenthil
Copy link
Member

@orsenthil orsenthil commented Dec 28, 2020

bpo-23328 Allow / character in username,password fields in _PROXY envvars.

When urllib was using _parse_proxy method to read proxies from environ variables, if the env had a username, password component and if those had an un-encoded '/' character, the parsing failed.

  • It seems curl allows '/' in unencoded format in username and password fields.

This change will not break any existing parsing behavior and is localized to username,password scenarios with '/' character in them.

https://bugs.python.org/issue23328

@bedevere-bot
Copy link

@orsenthil: Please replace # with GH- in the commit message next time. Thanks!

@miss-islington
Copy link
Contributor

Thanks @orsenthil for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8, 3.9.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Sorry @orsenthil, I had trouble checking out the 3.9 backport branch.
Please backport using cherry_picker on command line.
cherry_picker 030a713183084594659aefd77b76fe30178e23c8 3.9

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 29, 2020
@bedevere-bot
Copy link

GH-23992 is a backport of this pull request to the 3.8 branch.

@miss-islington
Copy link
Contributor

Thanks @orsenthil for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 29, 2020
@bedevere-bot
Copy link

GH-23993 is a backport of this pull request to the 3.9 branch.

miss-islington added a commit that referenced this pull request Dec 29, 2020
orsenthil added a commit that referenced this pull request Dec 29, 2020
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants