]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-86650: Fix IndexError when parse emails with invalid Message-ID (GH-117934)
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 17 Apr 2024 07:44:41 +0000 (10:44 +0300)
committerGitHub <noreply@github.com>
Wed, 17 Apr 2024 07:44:41 +0000 (10:44 +0300)
commitf74e51229c83e3265f905dc15283bfe0ec1a659e
treedc57201a51b519138adad23f7e265f1fc2d41b31
parent8cc9adbfddc8e37cf7d621b12754eecb0584f5da
gh-86650: Fix IndexError when parse emails with invalid Message-ID (GH-117934)

In particularly, one-off addresses generated by Microsoft Outlook:
https://learn.microsoft.com/en-us/office/client-developer/outlook/mapi/one-off-addresses

Co-authored-by: fsc-eriker <72394365+fsc-eriker@users.noreply.github.com>
Lib/email/_header_value_parser.py
Lib/test/test_email/test__header_value_parser.py
Misc/NEWS.d/next/Library/2024-04-16-18-34-11.gh-issue-86650.Zeydyg.rst [new file with mode: 0644]