Skip to content

Fix bpo-36041: fix folding of quoted string in display_name violates RFC#12054

Closed
ghost wants to merge 2 commits intomainfrom
unknown repository
Closed

Fix bpo-36041: fix folding of quoted string in display_name violates RFC#12054
ghost wants to merge 2 commits intomainfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Feb 26, 2019

Fix bug 36041: don't unquote quoted strings during email header folding

The refolding process is unable to determine if it is folding an unstructured header (where unquoting and
unescaping the string would be allowed) or a structured header where the quotes are required. Therefore, do the safe thing and keep the quotes and escapes.

https://bugs.python.org/issue36041

Loading
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.

7 participants