Skip to content

[3.14] gh-148192: Fix Generator._make_boundary behavior with CRLF line endings. (GH-148193)#148550

Merged
bitdancer merged 1 commit intopython:3.14from
miss-islington:backport-4af46b4-3.14
Apr 14, 2026
Merged

[3.14] gh-148192: Fix Generator._make_boundary behavior with CRLF line endings. (GH-148193)#148550
bitdancer merged 1 commit intopython:3.14from
miss-islington:backport-4af46b4-3.14

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented Apr 14, 2026

The Generator._make_boundary regex did not match on boundary phrases correctly when using CRLF line endings due to re.MULTILINE not considering \r\n as a line ending.
(cherry picked from commit 4af46b4)

Co-authored-by: Henry Jones 44321887+henryivesjones@users.noreply.github.com

… endings. (pythonGH-148193)

The Generator._make_boundary regex did not match on boundary phrases correctly when using CRLF line endings due to re.MULTILINE not considering \r\n as a line ending.
(cherry picked from commit 4af46b4)

Co-authored-by: Henry Jones <44321887+henryivesjones@users.noreply.github.com>
@miss-islington miss-islington requested a review from a team as a code owner April 14, 2026 13:11
@bitdancer bitdancer merged commit b988157 into python:3.14 Apr 14, 2026
53 checks passed
@miss-islington miss-islington deleted the backport-4af46b4-3.14 branch April 14, 2026 16:04
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.

3 participants