Skip to content

Fix auth parsing for proxies#6028

Merged
sigmavirus24 merged 1 commit into
psf:mainfrom
nateprewitt:prox_auth_fix
Jan 4, 2022
Merged

Fix auth parsing for proxies#6028
sigmavirus24 merged 1 commit into
psf:mainfrom
nateprewitt:prox_auth_fix

Conversation

@nateprewitt

@nateprewitt nateprewitt commented Jan 4, 2022

Copy link
Copy Markdown
Member

Thanks to @adamp01 and @racam for quickly helping us find this. Moving from urlparse to parse_url has led to Requests dropping the auth portion of proxy URLs. This patch will manually add it if present, returning us to our previous behavior.

This closes #6027.

Co-authored-by: adamp01 <@adamp01>
@sigmavirus24 sigmavirus24 merged commit 8fa9724 into psf:main Jan 4, 2022
@nateprewitt nateprewitt deleted the prox_auth_fix branch January 4, 2022 16:18
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proxy authentication bug

2 participants