[evolution/webkit: 115/134] Ignore application/pgp-signature part
- From: Dan VrÃtil <dvratil src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit: 115/134] Ignore application/pgp-signature part
- Date: Wed, 14 Dec 2011 15:41:19 +0000 (UTC)
commit ee748a3391317a927793e65b33a440a1959a8258
Author: Dan VrÃtil <dvratil redhat com>
Date: Thu Nov 24 16:48:47 2011 +0100
Ignore application/pgp-signature part
We don't want this part inline or displayed as an attachment. It's used only
internally to verify the signature, but user does not have to be aware of it.
em-format/em-format.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/em-format/em-format.c b/em-format/em-format.c
index 4c88270..3ba35c5 100644
--- a/em-format/em-format.c
+++ b/em-format/em-format.c
@@ -1244,6 +1244,9 @@ static EMFormatHandler type_handlers[] = {
{ (gchar *) "multipart/digest", emf_parse_multipart_digest, },
{ (gchar *) "multipart/*", emf_parse_multipart_mixed, },
+ /* Ignore PGP signature part */
+ { (gchar *) "application/pgp-signature", em_format_empty_parser, },
+
/* Insert brokenly-named parts here */
#ifdef ENABLE_SMIME
{ (gchar *) "application/pkcs7-mime", emf_parse_application_xpkcs7mime, 0, EM_FORMAT_HANDLER_INLINE_DISPOSITION },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]