SIGN IN SIGN UP

bpo-46756: Fix authorization check in urllib.request (GH-31353)

Fix a bug in urllib.request.HTTPPasswordMgr.find_user_password() and
urllib.request.HTTPPasswordMgrWithPriorAuth.is_authenticated() which
allowed to bypass authorization. For example, access to URI "example.org/foobar"
was allowed if the user was authorized for URI "example.org/foo".
S
Serhiy Storchaka committed
e2e72567a1c94c548868f6ee5329363e6036057a
Parent: 53ecf9e
Committed by GitHub <noreply@github.com> on 2/25/2022, 11:31:03 AM