Skip to content

[3.11] gh-117313: Fix re-folding email messages containing non-standard line separators (GH-117369)#117972

Closed
miss-islington wants to merge 1 commit intopython:3.11from
miss-islington:backport-aec1dac-3.11
Closed

[3.11] gh-117313: Fix re-folding email messages containing non-standard line separators (GH-117369)#117972
miss-islington wants to merge 1 commit intopython:3.11from
miss-islington:backport-aec1dac-3.11

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Apr 17, 2024

Only treat '\n', '\r' and '\r\n' as line separators in re-folding the email
messages. Preserve control characters '\v', '\f', '\x1c', '\x1d' and '\x1e'
and Unicode line separators '\x85', '\u2028' and '\u2029' as is.
(cherry picked from commit aec1dac)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

…d line separators (pythonGH-117369)

Only treat '\n', '\r' and '\r\n' as line separators in re-folding the email
messages.  Preserve control characters '\v', '\f', '\x1c', '\x1d' and '\x1e'
and Unicode line separators '\x85', '\u2028' and '\u2029' as is.
(cherry picked from commit aec1dac)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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.

2 participants