[issue46392] MessageIDHeader is too strict for message-id

R. David Murray report at bugs.python.org
Mon Jan 17 17:31:21 EST 2022


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

Note that the parser does attempt to accept obsolete syntax (registering defects for it), so if there is a bug in the implementation of the obsolete syntax handling it should be fixed.  And yes, there have been other bugs with whitespace handling in the parser, unfortunately.

Examples would be most helpful, even if you don't write unit tests.  Most of the tests, by the way, are in test__header_value_parser (search for message_id).  There aren't very many, so more would be good.

----------

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


More information about the Python-bugs-list mailing list