commit c416e89d2a88b817eaffe17a801bf97f3e510018 parent 5d00abddaf3903559a90bb258a0609b9ebee72dd Author: Colin Leroy <colin@colino.net> Date: Tue, 7 May 2013 12:46:40 +0200 Never decode multipart/* or message/* parts, as RFC states. Diffstat:
| M | src/procmime.c | | | 3 | +-- |
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/procmime.c b/src/procmime.c @@ -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");