aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-12-12 07:47:33 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-12-12 07:47:33 +0800
commit45f6a4c8b604c5f2108559c0f72caba0ca3d5200 (patch)
tree9945020ce8d823664bfbb632e365766327e6058b /mail/em-format.c
parente6f4f9dccf020dd7de33b41956baf58f85ebbd0d (diff)
downloadgsoc2013-evolution-45f6a4c8b604c5f2108559c0f72caba0ca3d5200.tar.gz
gsoc2013-evolution-45f6a4c8b604c5f2108559c0f72caba0ca3d5200.tar.zst
gsoc2013-evolution-45f6a4c8b604c5f2108559c0f72caba0ca3d5200.zip
** See bug #52108.
2003-12-12 Not Zed <NotZed@Ximian.com> ** See bug #52108. * em-format.c (em_format_is_attachment): also recognise application/pkcs7-mime for mailers who like to make up their own standards. * em-format-html.c (type_builtin_table[]): * em-format-html-display.c (type_builtin_table[]): make recognise application/pkcs7-mime too. svn path=/trunk/; revision=23931
Diffstat (limited to 'mail/em-format.c')
-rw-r--r--mail/em-format.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/em-format.c b/mail/em-format.c
index 29e55d3cc5..b3f9b9a344 100644
--- a/mail/em-format.c
+++ b/mail/em-format.c
@@ -743,6 +743,7 @@ int em_format_is_attachment(EMFormat *emf, CamelMimePart *part)
/*printf("checking is attachment %s/%s\n", ct->type, ct->subtype);*/
return !(camel_content_type_is (dw->mime_type, "multipart", "*")
|| camel_content_type_is(dw->mime_type, "application", "x-pkcs7-mime")
+ || camel_content_type_is(dw->mime_type, "application", "pkcs7-mime")
|| (camel_content_type_is (dw->mime_type, "text", "*")
&& camel_mime_part_get_filename(part) == NULL));
}