cpython/Lib/email/test
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
..
data #14983: always add a line end after a MIME boundary marker. 2014-02-08 17:54:12 -05:00
__init__.py Big email 3.0 API changes, with updated unit tests and documentation. 2004-10-03 03:16:19 +00:00
test_email.py [2.7] bpo-34155: Dont parse domains containing @ (GH-13079) (GH-16006) 2019-09-14 10:26:38 -07:00
test_email_codecs.py #2622 Import errors in email.message, from a py2app standalone application. 2009-07-11 14:33:51 +00:00
test_email_codecs_renamed.py fix import 2009-03-30 02:14:21 +00:00
test_email_renamed.py closes bpo-36712: Fix duplicate method in Lib/email/test/test_email_renamed.py. (GH-14800) 2019-09-11 14:26:07 +01:00
test_email_torture.py Add missing import when running these tests standalone. 2010-02-06 23:54:04 +00:00