cpython/Lib/test/test_email
Miss Islington (bot) 7b82281c80 bpo-27397: Make email module properly handle invalid-length base64 strings (GH-7583) (GH-7664)
When attempting to base64-decode a payload of invalid length (1 mod 4),
properly recognize and handle it.  The given data will be returned as-is,
i.e. not decoded, along with a new defect, InvalidBase64LengthDefect.
(cherry picked from commit c3f55be7dd)

Co-authored-by: Tal Einat <taleinat+github@gmail.com>
2018-06-12 16:46:11 +03:00
..
data
__init__.py Merge with 3.5 2016-09-09 12:09:07 -07:00
__main__.py
test__encoded_words.py bpo-27397: Make email module properly handle invalid-length base64 strings (GH-7583) (GH-7664) 2018-06-12 16:46:11 +03:00
test__header_value_parser.py bpo-27397: Make email module properly handle invalid-length base64 strings (GH-7583) (GH-7664) 2018-06-12 16:46:11 +03:00
test_asian_codecs.py
test_contentmanager.py
test_defect_handling.py bpo-27397: Make email module properly handle invalid-length base64 strings (GH-7583) (GH-7664) 2018-06-12 16:46:11 +03:00
test_email.py bpo-31370: Remove support for threads-less builds (#3385) 2017-09-07 18:56:24 +02:00
test_generator.py bpo-27240 Rewrite the email header folding algorithm. (#3488) 2017-12-03 18:51:41 -05:00
test_headerregistry.py bpo-27240 Rewrite the email header folding algorithm. (#3488) 2017-12-03 18:51:41 -05:00
test_inversion.py #28047: Fix calculation of base64 line length. 2016-09-09 15:00:09 -04:00
test_message.py #24277: The new email API is no longer provisional. 2016-09-07 21:15:59 -04:00
test_parser.py #20476: add a message_factory policy attribute to email. 2016-09-09 18:39:18 -04:00
test_pickleable.py
test_policy.py #20476: Deal with the message_factory circular import differently. 2016-09-10 00:22:25 -04:00
test_utils.py
torture_test.py