[evolution/webkit: 57/182] Ignore application/pgp-signature part
- From: Dan VrÃtil <dvratil src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit: 57/182] Ignore application/pgp-signature part
- Date: Tue, 6 Mar 2012 16:13:29 +0000 (UTC)
commit ce12e17c5fd8eaabe531de2850ff0f17df6c4479
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 eac82dd..e923ce3 100644
--- a/em-format/em-format.c
+++ b/em-format/em-format.c
@@ -1248,6 +1248,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]