[issue46392] MessageIDHeader is too strict for message-id
bpoaugust
report at bugs.python.org
Sun Jan 16 11:00:35 EST 2022
bpoaugust <sebbaz+bpo at gmail.com> added the comment:
The easiest might be for me to provide some test cases, but I have not been able to work out where the existing unit tests are.
One failure which I believe should be permitted under current rules is:
<alphanum at aphanum > - i.e. trailing space
The space gets added AFTER the >
However the following is parsed correctly:
<alphanum@()aphanum > - i.e. trailing space but with previous comment
The obsolete rules I referred to are here:
https://datatracker.ietf.org/doc/html/rfc5322#section-4
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46392>
_______________________________________
More information about the Python-bugs-list
mailing list