cpython/Lib/urllib
Miss Islington (bot) 95355ee3a8
[3.11] gh-155694: Scope HTTPPasswordMgr credentials by URL scheme (GH-155696) (#155972)
* 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 a7bb524fef)

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

* Apply suggestion from @Eclips4

Unfortunately, too old sphinx

* Empty commit to trigger the CI

---------

Co-authored-by: Łukasz <lukaszlapinski7@gmail.com>
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
2026-10-01 01:27:46 +01:00
..
__init__.py
error.py
parse.py [3.11] gh-105704: Disallow square brackets ([ and ]) in domain names for parsed URLs (GH-129418) (#129528) 2025-02-19 14:13:52 +01:00
request.py [3.11] gh-155694: Scope HTTPPasswordMgr credentials by URL scheme (GH-155696) (#155972) 2026-10-01 01:27:46 +01:00
response.py
robotparser.py