cpython/Lib/email
Roberto C. Sánchez 4cbcd2f8c4 [2.7] bpo-34155: Dont parse domains containing @ (GH-13079) (GH-16006)
This change skips parsing of email addresses where domains include a "@" character, which can be maliciously used since the local part is returned as a complete address. 

(cherry picked from commit 8cb65d1381)

Excludes changes to Lib/email/_header_value_parser.py, which did not
exist in 2.7.

Co-authored-by: jpic <jpic@users.noreply.github.com>


https://bugs.python.org/issue34155
2019-09-14 10:26:38 -07:00
..
mime Closes #19434: fix copy-paste error in MIMENonMultipart docstring. 2014-10-02 12:35:08 +02:00
test [2.7] bpo-34155: Dont parse domains containing @ (GH-13079) (GH-16006) 2019-09-14 10:26:38 -07:00
__init__.py #9085: email versions have gotten out of sync, 2.7 is actually 4.0.3. 2010-06-26 18:39:50 +00:00
_parseaddr.py [2.7] bpo-34155: Dont parse domains containing @ (GH-13079) (GH-16006) 2019-09-14 10:26:38 -07:00
base64mime.py Correct misspellings of ISO-8859 2016-08-10 05:25:16 +00:00
charset.py #18437: fix comment typo. 2013-07-12 22:57:12 -04:00
encoders.py Issue #7472: remove unused code from email.encoders.encode_7or8bit. 2010-05-05 17:31:03 +00:00
errors.py Merge email package 4.0 from the sandbox, including documentation, test cases, 2006-03-18 15:41:53 +00:00
feedparser.py closes bpo-36711: Remove duplicate method in Lib/email/feedparser.py. (GH-14801) 2019-09-11 14:22:08 +01:00
generator.py #14983: always add a line end after a MIME boundary marker. 2014-02-08 17:54:12 -05:00
header.py revert comment wording (#16714) 2012-12-19 22:47:05 +02:00
iterators.py Merge email package 4.0 from the sandbox, including documentation, test cases, 2006-03-18 15:41:53 +00:00
message.py Issue #27125: Fix various errors like “will [be] inherited” 2016-05-29 08:13:58 +00:00
parser.py Issue #27076: Doc, comment and test function name spelling fixes 2016-05-26 05:28:50 +00:00
quoprimime.py Correct misspellings of ISO-8859 2016-08-10 05:25:16 +00:00
utils.py bpo-30109: Fix reindent.py for non-ASCII files. (#5637) 2018-02-12 20:16:42 +02:00