[New-bugs-announce] [issue46392] MessageIDHeader is too strict for message-id

bpoaugust report at bugs.python.org
Sat Jan 15 19:16:30 EST 2022


New submission from bpoaugust <sebbaz+bpo at gmail.com>:

The email headerregistry class MessageIDHeader is too strict when parsing existing Message-Ids. It can truncate Message-Ids that are valid according to the obsolete rules.

As the saying has it: 
"Be liberal in what you accept, and conservative in what you send."

I think the parser should be much closer to the UnstructuredHeader.

----------
components: email
messages: 410665
nosy: barry, bpoaugust, r.david.murray
priority: normal
severity: normal
status: open
title: MessageIDHeader is too strict for message-id

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


More information about the New-bugs-announce mailing list