Skip to content

[3.14] gh-160369: Reject buffered plaintext after IMAP STARTTLS (GH-160370) - #161760

Open
JelleZijlstra wants to merge 1 commit into
python:3.14from
JelleZijlstra:codex/backport-160370-3.14
Open

JelleZijlstra wants to merge 1 commit into
python:3.14from
JelleZijlstra:codex/backport-160370-3.14

Conversation

@JelleZijlstra

@JelleZijlstra JelleZijlstra commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

Backport of gh-160370 to 3.14.

Reject plaintext left in _readbuf after the STARTTLS response and clear cached untagged responses. Adapt the change to this branch’s file handling and resolve the test insertion conflict.

…n#160370)

Co-authored-by: Seth Michael Larson <seth@python.org>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
(cherry picked from commit 2f0e294)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant