]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38698: Add a new InvalidMessageID token to email header parser. (GH-17503)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 9 Dec 2019 02:11:31 +0000 (18:11 -0800)
committerGitHub <noreply@github.com>
Mon, 9 Dec 2019 02:11:31 +0000 (18:11 -0800)
commitf66f4a09d0b6817fe6a86a567fd506aa223f1563
tree67711559e33d2c2f03d04631520be00b07cff1d7
parent960fca1a5887a277fd6031cf4c4b6fb31b08ebf5
bpo-38698: Add a new InvalidMessageID token to email header parser. (GH-17503)

This adds a new InvalidMessageID token to the email header parser which can be
used to represent invalid message-id headers in the parse tree.
(cherry picked from commit 68157da8b42b26408af5d157d2dba4fcf29c6320)

Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com>
Lib/email/_header_value_parser.py
Lib/test/test_email/test__header_value_parser.py
Misc/NEWS.d/next/Library/2019-12-07-21-49-50.bpo-38698.HxoSym.rst [new file with mode: 0644]