mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #27848 -- Prevented crash when attaching a .eml file to a message
Thanks Sébastien Ramage for the report.
This commit is contained in:
@@ -401,6 +401,7 @@ class MailTests(HeadersCheckMixin, SimpleTestCase):
|
||||
('file_png', None),
|
||||
('file_txt.png', 'image/png'),
|
||||
('file_png.txt', 'text/plain'),
|
||||
('file.eml', 'message/rfc822'),
|
||||
)
|
||||
test_mimetypes = ['text/plain', 'image/png', None]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user