Skip to content

[3.6] bpo-36520: Email header folded incorrectly (GH-13608)#13610

Closed
websurfer5 wants to merge 2 commits into
python:3.6from
websurfer5:fix-issue-36520-3.6
Closed

[3.6] bpo-36520: Email header folded incorrectly (GH-13608)#13610
websurfer5 wants to merge 2 commits into
python:3.6from
websurfer5:fix-issue-36520-3.6

Conversation

@websurfer5

@websurfer5 websurfer5 commented May 28, 2019

Copy link
Copy Markdown
Contributor

Folding long email headers that contain multiple UTF-8 words in the first line results in corruption when UTF-8 words are found in subsequent lines. The fix is to reset the variable tracking the encoded word location in the line when a new line is started.

https://bugs.python.org/issue36520

@Mariatta

Copy link
Copy Markdown
Member

Thanks for this PR. I'm closing this because the 3.6 branch is only accepting security fixes only. It doesn't accept bug fixes/new features anymore. Additionally, we will do the backport PR only after the PR on master has been reviewed and merged.

@Mariatta Mariatta closed this May 28, 2019
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.

4 participants