]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-73561: Omit interface scope from IPv6 when used as Host header (#93324)
authorMichael <35783820+mib1185@users.noreply.github.com>
Sun, 19 Nov 2023 22:37:13 +0000 (23:37 +0100)
committerGitHub <noreply@github.com>
Sun, 19 Nov 2023 22:37:13 +0000 (22:37 +0000)
commitce1096f974d3158a92e050f9226700775b8db398
tree3c0ef4e51e7b67383d513df34f47b0a492ca7dd2
parent7c9f2677fbb8805f7d531fb96731339727e8ea20
gh-73561: Omit interface scope from IPv6 when used as Host header (#93324)

Omit the `@interface_scope` from an IPv6 address when used as Host header by `http.client`.

---------

Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google LLC]
Lib/http/client.py
Lib/test/test_httplib.py
Misc/NEWS.d/next/Library/2022-05-28-20-55-07.gh-issue-73561.YRmAvy.rst [new file with mode: 0644]