Francis Johnson <busin...@francisjohnson.org> added the comment:

Try parsing an example such as this through the Python email library:

Content-Type: message/global
Content-Transfer-Encoding: quoted-printable

Content-Type: text/plain; =
charset=3D”us-ascii”

Hello, World!



You will find that the valid quoted-printable content is visited but not 
decoded prior to parsing; it is parsed as-is and treated as a bad message: the 
charset in the “text/plain” Content-Type improperly parsed, for example.  I 
have a draft pull request for this, which might be easier to understand.  Let 
me know if you need further clarification.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44660>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to