FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.15] gh-155694: Scope HTTPPasswordMgr credentials by URL scheme (GH-155696) by miss-islington · Pull Request #155968 · python/cpython · GitHub

Repository navigation

[3.15] gh-155694: Scope HTTPPasswordMgr credentials by URL scheme (GH-155696) - #155968

Merged
hugovk merged 1 commit into
python:3.15from
miss-islington:backport-a7bb524-3.15
Aug 19, 2026
Merged

hugovk merged 1 commit into
python:3.15from
miss-islington:backport-a7bb524-3.15

Conversation

miss-islington commented Aug 17, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

Credentials stored for an https:// URI were also matched against the
corresponding http:// URI, since reduce_uri() discards the scheme.

HTTPPasswordMgr and HTTPPasswordMgrWithPriorAuth now compare the scheme
too; URIs registered without a scheme still match any scheme.
(cherry picked from commit a7bb524)

Co-authored-by: Łukasz lukaszlapinski7@gmail.com

…honGH-155696)

Credentials stored for an https:// URI were also matched against the
corresponding http:// URI, since `reduce_uri()` discards the scheme.

`HTTPPasswordMgr` and `HTTPPasswordMgrWithPriorAuth` now compare the scheme
too; URIs registered without a scheme still match any scheme.
(cherry picked from commit a7bb524)

Co-authored-by: Łukasz <lukaszlapinski7@gmail.com>

Copy link
Copy Markdown

Eclips4 commented Aug 18, 2026

Copy link
Copy Markdown
Member

I suppose we don't need another core dev to review it, since the initial PR wasn't opened by me, if I understand the policy correctly.

hugovk merged commit 641be42 into python:3.15 Aug 19, 2026
64 checks passed
miss-islington deleted the backport-a7bb524-3.15 branch August 19, 2026 02:15

hugovk commented Aug 19, 2026

Copy link
Copy Markdown
Member

I suppose we don't need another core dev to review it, since the initial PR wasn't opened by me, if I understand the policy correctly.

That's right, thanks!

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL