Skip to content

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

Merged
serhiy-storchaka merged 1 commit intopython:3.12from
miss-islington:backport-aec1dac-3.12
Apr 17, 2024
Merged

[3.12] gh-117313: Fix re-folding email messages containing non-standard line separators (GH-117369)#117971
serhiy-storchaka merged 1 commit intopython:3.12from
miss-islington:backport-aec1dac-3.12

Conversation

@miss-islington
Copy link
Copy Markdown
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants