]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-86650: Fix IndexError when parse emails with invalid Message-ID (GH-117934...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 17 Apr 2024 08:03:12 +0000 (10:03 +0200)
committerGitHub <noreply@github.com>
Wed, 17 Apr 2024 08:03:12 +0000 (08:03 +0000)
commit95982c983fa61a1967c81f4acd16e06b2d95a550
tree1fa5e7eeb9239e411329eb0b15ee1cbc860acf18
parent03108045d25e4a75575d8a19d3187599e17277a4
[3.12] gh-86650: Fix IndexError when parse emails with invalid Message-ID (GH-117934) (GH-117965)

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

(cherry picked from commit f74e51229c83e3265f905dc15283bfe0ec1a659e)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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]