Revert "Add a 'signature.asc' filename for PGP MIME signatures."
authorAndrej Kacian <ticho@claws-mail.org>
Mon, 3 Jul 2017 13:50:47 +0000 (15:50 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Mon, 3 Jul 2017 13:50:47 +0000 (15:50 +0200)
This reverts commit bd6cfc227c3386329ce7baef2aac10788e47c445.

The change causes more problems than it solves, seeing as
it triggers alarms for a lot of antivirus/antispam software.

src/plugins/pgpmime/pgpmime.c

index f9b459d5c8328732d188f7ac57f30d0707134062..e14ebe0405473e34b9e6d6e89480c7d2a3732157 100644 (file)
@@ -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);