mirror of
https://github.com/python/cpython.git
synced 2025-10-25 10:44:55 +00:00
Email generators using email.policy.default could incorrectly omit the
quote ('"') characters from a quoted-string during header refolding,
leading to invalid address headers and enabling header spoofing. This
change restores the quote characters on a bare-quoted-string as the
header is refolded, and escapes backslash and quote chars in the string.
|
||
|---|---|---|
| .. | ||
| data | ||
| __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 | ||
| test_generator.py | ||
| test_headerregistry.py | ||
| test_inversion.py | ||
| test_message.py | ||
| test_parser.py | ||
| test_pickleable.py | ||
| test_policy.py | ||
| test_utils.py | ||
| torture_test.py | ||