Never decode multipart/* or message/* parts, as RFC states.
authorColin Leroy <colin@colino.net>
Tue, 7 May 2013 10:46:40 +0000 (12:46 +0200)
committerColin Leroy <colin@colino.net>
Tue, 7 May 2013 10:48:20 +0000 (12:48 +0200)
src/procmime.c

index 95b326a..79dc7c3 100644 (file)
@@ -349,8 +349,7 @@ gboolean procmime_decode_content(MimeInfo *mimeinfo)
            ))
                return TRUE;
 
-       if (mimeinfo->type == MIMETYPE_MULTIPART && 
-           !strcasecmp(mimeinfo->subtype, "signed"))
+       if (mimeinfo->type == MIMETYPE_MULTIPART || mimeinfo->type == MIMETYPE_MESSAGE)
                return TRUE;
 
        infp = procmime_fopen(mimeinfo->data.filename, "rb");