﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
18967	django.core.mail.EmailMessage._create_mime_attachment incorrectly encodes message/rfc822 attachments in base64, breaks in Evolution and Thunderbird	Michael	nobody	"Django appears to insert message/rfc822 attachments in base64 encoding.  This breaks display in Novell Evolution [https://bugzilla.gnome.org/show_bug.cgi?id=651197 #651197] and Mozilla Thunderbird [https://bugzilla.mozilla.org/show_bug.cgi?id=333880 #333880].

This behaviour is similar to some other mail clients (namely Gmail and Microsoft Outlook), but is non-standard according to [http://www.ietf.org/rfc/rfc2046.txt RFC2046]:

   5.2.1.  RFC822 Subtype
   No encoding other than ""7bit"", ""8bit"", or ""binary"" is permitted for the body of a ""message/rfc822"" entity.

The Mozilla Thunderbird bug entry seems to indicate that with certain versions of Thunderbird, this behaviour is accepted, but this seems to change sporadically.  They believe that encoding message/rfc822 attachments in this fashion is not acceptable behaviour."	Bug	closed	Core (Mail)	dev	Normal	fixed		cuerty	Ready for checkin	1	0	0	0	1	0
