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 maxking
Recipients barry, epicfaace, maxking, mytran, r.david.murray
Date 2019-08-09.08:23:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565339004.26.0.376031497699.issue37764@roundup.psfhosted.org>
In-reply-to
Content
This does look like a side-effect of the commit mentioned by mytran.

The issues seems to be that email._header_value_parser.get_unstructured wrongfully assumes that anything leading with '=?' would be a valid rfc 2047 encoded word.

This is a smaller test case to reproduce this bug:

from email._header_value_parser import get_unstructured
get_unstructured('=?utf-8?q?FSaiz4vX3XMJPT4vrExGUZeOnp0o22pLBB7CYLH74Js=3DwOlK6Tfru2U47qR?=72OfyEY2p2/rA9xNFyvH+fBTCmazxwzF8nGkK6D')
History
Date User Action Args
2019-08-09 08:23:24maxkingsetrecipients: + maxking, barry, r.david.murray, epicfaace, mytran
2019-08-09 08:23:24maxkingsetmessageid: <1565339004.26.0.376031497699.issue37764@roundup.psfhosted.org>
2019-08-09 08:23:24maxkinglinkissue37764 messages
2019-08-09 08:23:24maxkingcreate