[evolution/webkit: 57/177] Ignore application/pgp-signature part
- From: Dan VrÃtil <dvratil src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit: 57/177] Ignore application/pgp-signature part
- Date: Fri, 2 Mar 2012 11:34:25 +0000 (UTC)
commit 4c8ee1ec8a356fa802befaf3cbf732cf3561d3c9
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]