Skip to content

[3.14] gh-161104: Check the http.client tunnel host after IDNA encoding (GH-161105) - #161881

Merged
gpshead merged 1 commit into
python:3.14from
miss-islington:backport-7ac989f-3.14
Nov 14, 2026
Merged

gpshead merged 1 commit into
python:3.14from
miss-islington:backport-7ac989f-3.14

Conversation

@miss-islington

@miss-islington miss-islington commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

IDNA normalization maps U+00A0 and similar characters to an ASCII space,
so check the encoded host that is put into the CONNECT request line.

ANT-2026-PIZPMECM
(cherry picked from commit 7ac989f)

Co-authored-by: Gregory P. Smith 68491+gpshead@users.noreply.github.com

pythonGH-161105)

IDNA normalization maps U+00A0 and similar characters to an ASCII space,
so check the encoded host that is put into the CONNECT request line.

ANT-2026-PIZPMECM
(cherry picked from commit 7ac989f)

Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
@gpshead
gpshead enabled auto-merge (squash) November 12, 2026 16:17
@gpshead gpshead self-assigned this Nov 12, 2026
@gpshead
gpshead merged commit 7974575 into python:3.14 Nov 14, 2026
95 of 97 checks passed
@miss-islington
miss-islington deleted the backport-7ac989f-3.14 branch November 14, 2026 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants