Bug 493157 - IMAP attachment text file data is incorrect received from OEX composed email; r+sr=bienvenu
authorPhil Lacy <philbaseless-firefox@yahoo.com>
Mon, 08 Jun 2009 17:43:13 +0200
changeset 2803 4a231a0cac5e305a1816fea6b40ae6a6abc3b828
parent 2802 c64d9a572e6e37352f8885fb2abf1476844152df
child 2804 86f9ec8efa439392362be2fc47f1758007fa04e2
push idunknown
push userunknown
push dateunknown
bugs493157
Bug 493157 - IMAP attachment text file data is incorrect received from OEX composed email; r+sr=bienvenu
mailnews/mime/src/mimei.cpp
--- a/mailnews/mime/src/mimei.cpp
+++ b/mailnews/mime/src/mimei.cpp
@@ -597,17 +597,18 @@ mime_find_class (const char *content_typ
       else if (!PL_strcasecmp(content_type+5,    "rtf"))
         clazz = (MimeObjectClass *)&mimeExternalObjectClass;
       else if (!PL_strcasecmp(content_type+5,    "plain"))
       {
         // Preliminary use the normal plain text
         clazz = (MimeObjectClass *)&mimeInlineTextPlainClass;
 
         if (opts && opts->format_out != nsMimeOutput::nsMimeMessageFilterSniffer
-          && opts->format_out != nsMimeOutput::nsMimeMessageAttach)
+          && opts->format_out != nsMimeOutput::nsMimeMessageAttach
+          && opts->format_out != nsMimeOutput::nsMimeMessageRaw)
         {
           PRBool disable_format_flowed = PR_FALSE;
           if (prefBranch)
             prefBranch->GetBoolPref("mailnews.display.disable_format_flowed_support",
                                     &disable_format_flowed);
 
           if(!disable_format_flowed)
           {