cpython/Lib/email
Victor Stinner f91a0b6df1
bpo-39073: validate Address parts to disallow CRLF (#19007) (#20450)
Disallow CR or LF in email.headerregistry.Address arguments to guard against header injection attacks.

(cherry picked from commit 614f17211c)
2020-06-12 08:33:19 -07:00
..
mime Issue #27445: Don't pass str(_charset) to MIMEText.set_payload() 2016-09-08 19:40:30 +03:00
__init__.py #22508: Drop email __version__ string. It no longer means anything. 2014-10-03 13:02:47 -04:00
_encoded_words.py Escaped backslashes in docstrings. 2015-04-03 18:12:41 +03:00
_header_value_parser.py [3.5] bpo-37461: Fix infinite loop in parsing of specially crafted email headers (GH-14794) (#15446) 2019-09-07 08:08:53 +01:00
_parseaddr.py [3.5] bpo-34155: Dont parse domains containing @ (GH-13079) (#15317) 2019-09-07 06:24:05 +01:00
_policybase.py [email] bpo-29478: Fix passing max_line_length=None from Compat32 policy (GH-595) (GH-2234) 2017-06-15 19:38:12 -07:00
architecture.rst [3.5] Fix typos in multiple .rst files (GH-1668) (#1706) 2017-05-22 20:16:32 +03:00
base64mime.py Correct misspellings of ISO-8859 2016-08-10 05:25:16 +00:00
charset.py Issue #23326: Removed __ne__ implementations. Since fixing default __ne__ 2015-01-31 12:05:05 +02:00
contentmanager.py #28047: Fix calculation of base64 line length. 2016-09-09 15:00:09 -04:00
encoders.py
errors.py
feedparser.py #22233: Only split headers on \r and/or \n, per email RFCs. 2016-09-07 17:44:34 -04:00
generator.py #19003: Only replace \r and/or \n line endings in email.generator. 2016-09-11 17:22:56 -04:00
header.py Issue #23326: Removed __ne__ implementations. Since fixing default __ne__ 2015-01-31 12:05:05 +02:00
headerregistry.py bpo-39073: validate Address parts to disallow CRLF (#19007) (#20450) 2020-06-12 08:33:19 -07:00
iterators.py
message.py Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-09-07 12:03:06 +00:00
parser.py Issue #27076: Doc, comment and tests spelling fixes 2016-05-26 05:35:26 +00:00
policy.py #22233: Only split headers on \r and/or \n, per email RFCs. 2016-09-07 17:44:34 -04:00
quoprimime.py Correct misspellings of ISO-8859 2016-08-10 05:25:16 +00:00
utils.py Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc 2016-04-15 02:14:19 +00:00