From: heraklit256 Date: Sat, 4 May 2019 14:07:34 +0000 (+0200) Subject: [Fix] allow PKCS7 signatures to be text/plain, too X-Git-Tag: 1.9.3~18^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F2886%2Fhead;p=rspamd.git [Fix] allow PKCS7 signatures to be text/plain, too --- diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua index 51a63f6d5..63641b7d0 100644 --- a/src/plugins/lua/mime_types.lua +++ b/src/plugins/lua/mime_types.lua @@ -535,7 +535,7 @@ local full_extensions_map = { {"p7c", "application/pkcs7-mime"}, {"p7m", "application/pkcs7-mime"}, {"p7r", "application/x-pkcs7-certreqresp"}, - {"p7s", "application/pkcs7-signature"}, + {"p7s", {"application/pkcs7-signature", "text/plain"}}, {"pbm", "image/x-portable-bitmap"}, {"pcast", "application/x-podcast"}, {"pct", "image/pict"},