mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 14:15:30 +00:00
Excluded types MESSAGE_RFC822 and MESSAGE_NEWS from being encoded as base64 to fix forward inline problem, bug 40745, r=rhp, a=ftang.
This commit is contained in:
parent
cebff3c5d2
commit
caa54650d3
@ -273,9 +273,7 @@ nsMsgAttachmentHandler::PickEncoding(const char *charset)
|
||||
(PL_strcasecmp(m_type, TEXT_VCARD) == 0) ||
|
||||
(PL_strcasecmp(m_type, APPLICATION_DIRECTORY) == 0) || /* text/x-vcard synonym */
|
||||
(PL_strcasecmp(m_type, TEXT_CSS) == 0) ||
|
||||
(PL_strcasecmp(m_type, TEXT_JSSS) == 0) ||
|
||||
(PL_strcasecmp(m_type, MESSAGE_RFC822) == 0) ||
|
||||
(PL_strcasecmp(m_type, MESSAGE_NEWS) == 0)))
|
||||
(PL_strcasecmp(m_type, TEXT_JSSS) == 0)))
|
||||
{
|
||||
needsB64 = PR_TRUE;
|
||||
}
|
||||
|
@ -816,9 +816,7 @@ mime_generate_attachment_headers (const char *type, const char *encoding,
|
||||
(PL_strcasecmp(type, TEXT_VCARD) == 0) ||
|
||||
(PL_strcasecmp(type, APPLICATION_DIRECTORY) == 0) || /* text/x-vcard synonym */
|
||||
(PL_strcasecmp(type, TEXT_CSS) == 0) ||
|
||||
(PL_strcasecmp(type, TEXT_JSSS) == 0) ||
|
||||
(PL_strcasecmp(type, MESSAGE_RFC822) == 0) ||
|
||||
(PL_strcasecmp(type, MESSAGE_NEWS) == 0)) ||
|
||||
(PL_strcasecmp(type, TEXT_JSSS) == 0)) ||
|
||||
(PL_strcasecmp(encoding, ENCODING_BASE64) != 0)) &&
|
||||
(*charset_label))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user