[issue39040] Wrong attachement filename when mail mime header was too long

R. David Murray report at bugs.python.org
Sat Dec 14 10:28:49 EST 2019


R. David Murray <rdmurray at bitdance.com> added the comment:

Yes, google should fix their bug.  However, the python email package tries very hard to interpret even RFC-non-compliant emails when there is a way to do so.  As I said, the package already tries to interpret headers such as google is generating, it's just that there is a bug in that interpretation: it is keeping the blank between then encoded words when it should not be.  That bug can be fixed, in get_raw_encoded_word and/or get_parameter, in email._header_value_parser.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39040>
_______________________________________


More information about the Python-bugs-list mailing list