commit 55f99cdfab3fa5a3249c7c20de0a17adde6318d8
parent dc5de8ca50faf4f9f4c456e3e6ba5887db05ccbc
Author: Andrej Kacian <ticho@claws-mail.org>
Date: Mon, 3 Jul 2017 15:50:47 +0200
Revert "Add a 'signature.asc' filename for PGP MIME signatures."
This reverts commit bd6cfc227c3386329ce7baef2aac10788e47c445.
The change causes more problems than it solves, seeing as
it triggers alarms for a lot of antivirus/antispam software.
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/src/plugins/pgpmime/pgpmime.c b/src/plugins/pgpmime/pgpmime.c
@@ -599,10 +599,6 @@ gboolean pgpmime_sign(MimeInfo *mimeinfo, PrefsAccount *account, const gchar *fr
newinfo->data.mem = g_malloc(len + 1);
g_memmove(newinfo->data.mem, sigcontent, len);
newinfo->data.mem[len] = '\0';
- newinfo->disposition = DISPOSITIONTYPE_INLINE;
- g_hash_table_insert(newinfo->dispositionparameters,
- g_strdup("filename"), g_strdup("signature.asc"));
-
g_node_append(sigmultipart->node, newinfo->node);
g_free(sigcontent);