[evolution/webkit: 57/171] Ignore application/pgp-signature part
- From: Dan VrÃtil <dvratil src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit: 57/171] Ignore application/pgp-signature part
- Date: Fri, 24 Feb 2012 12:39:14 +0000 (UTC)
commit 21c67c551b0e830786cbc8097f702ba0755d1cac
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]