cpython/Lib/test/test_email
Victor Stinner 4a153a1d3b
[CVE-2023-27043] gh-102988: Reject malformed addresses in email.parseaddr() (#111116)
Detect email address parsing errors and return empty tuple to
indicate the parsing error (old API). Add an optional 'strict'
parameter to getaddresses() and parseaddr() functions. Patch by
Thomas Dwyer.

Co-Authored-By: Thomas Dwyer <github@tomd.tel>
2023-12-15 16:10:40 +01:00
..
data gh-106186: Don't report MultipartInvariantViolationDefect for valid multipart emails when parsing header only (#107016) 2023-07-23 12:25:18 +02:00
__init__.py
__main__.py
test__encoded_words.py
test__header_value_parser.py
test_asian_codecs.py
test_contentmanager.py
test_defect_handling.py
test_email.py [CVE-2023-27043] gh-102988: Reject malformed addresses in email.parseaddr() (#111116) 2023-12-15 16:10:40 +01:00
test_generator.py
test_headerregistry.py
test_inversion.py
test_message.py gh-94606: Fix error when message with Unicode surrogate not surrogateescaped string (GH-94641) 2023-12-11 18:21:18 +02:00
test_parser.py
test_pickleable.py
test_policy.py
test_utils.py gh-109017: Use non alternate name for Kyiv (GH-109251) 2023-10-24 20:11:51 +03:00
torture_test.py