Abhilash Raj <[email protected]> added the comment:
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')
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue37764>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com