cpython
851cf9a7 - [3.12] gh-155694: Scope HTTPPasswordMgr credentials by URL scheme (GH-155696) (#155971)

Commit
20 days ago
[3.12] gh-155694: Scope HTTPPasswordMgr credentials by URL scheme (GH-155696) (#155971) gh-155694: Scope HTTPPasswordMgr credentials by URL scheme (GH-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 a7bb524fef61f77ede01f660ffbd591e1d5837ce) Co-authored-by: Ɓukasz <lukaszlapinski7@gmail.com>
Parents
Loading