commit 9e610be: [Fix] allow PKCS7 signatures to be text/plain, too
heraklit256
heraklit256 at users.noreply.github.com
Mon May 6 17:49:08 UTC 2019
Author: heraklit256
Date: 2019-05-04 16:07:34 +0200
URL: https://github.com/rspamd/rspamd/commit/9e610be9e887acdd8c2cc6bd520fdec060f4c330 (refs/pull/2886/head)
[Fix] allow PKCS7 signatures to be text/plain, too
---
src/plugins/lua/mime_types.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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"},
More information about the Commits
mailing list