]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-73561: Omit interface scope from IPv6 when used as Host header (GH-93324...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 19 Nov 2023 23:25:40 +0000 (00:25 +0100)
committerGitHub <noreply@github.com>
Sun, 19 Nov 2023 23:25:40 +0000 (15:25 -0800)
commitf6e11eab491b63ded24607a28cf53be056bdb926
tree4c64dee1ab3c72a002333f1dafb3841ecb6e7789
parent11b91be55b2d77caf64fb97831452f23f219e433
[3.11] gh-73561: Omit interface scope from IPv6 when used as Host header (GH-93324) (#112273)

gh-73561: Omit interface scope from IPv6 when used as Host header (GH-93324)

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

---------

(cherry picked from commit ce1096f974d3158a92e050f9226700775b8db398)

 [Google LLC]

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
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]