]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] 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:36 +0000 (00:25 +0100)
committerGitHub <noreply@github.com>
Sun, 19 Nov 2023 23:25:36 +0000 (15:25 -0800)
commitd4fd165abab9c00ef15fbcd262804163e1a5e389
tree3eb48819752c4f925f147789b0bfb16aaab90e01
parentcf8c8307554939fd299cebfa00ccd49bc758f7ad
[3.12] gh-73561: Omit interface scope from IPv6 when used as Host header (GH-93324) (#112272)

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]