This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author aaryn.startmail
Recipients aaryn.startmail, barry, r.david.murray
Date 2019-02-20.08:32:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550651527.95.0.990753210222.issue36041@roundup.psfhosted.org>
In-reply-to
Content
Hi David, the problem is in email._header_value_parser._refold_parse_tree.

Specifically, when the parsetree renders too long, it recursively gets newparts = list(part) (the children). When it does this to a BareQuotedString node, the child nodes are unquoted and unescaped and it just happily serializes these.

I thought I had attached a file that monkey patches the _refold_parse_tree function with a fixed version... let me try again.
History
Date User Action Args
2019-02-20 08:32:07aaryn.startmailsetrecipients: + aaryn.startmail, barry, r.david.murray
2019-02-20 08:32:07aaryn.startmailsetmessageid: <1550651527.95.0.990753210222.issue36041@roundup.psfhosted.org>
2019-02-20 08:32:07aaryn.startmaillinkissue36041 messages
2019-02-20 08:32:07aaryn.startmailcreate