aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorheraklit256 <heraklit256@users.noreply.github.com>2019-05-04 16:07:34 +0200
committerheraklit256 <heraklit256@users.noreply.github.com>2019-05-04 16:07:34 +0200
commit9e610be9e887acdd8c2cc6bd520fdec060f4c330 (patch)
tree45dde3041d88f3799924321c45479691f73eff21 /src
parentdab0418f52f1cbc43b8822310f44fb8b2fe858d9 (diff)
downloadrspamd-9e610be9e887acdd8c2cc6bd520fdec060f4c330.tar.gz
rspamd-9e610be9e887acdd8c2cc6bd520fdec060f4c330.zip
[Fix] allow PKCS7 signatures to be text/plain, too
Diffstat (limited to 'src')
-rw-r--r--src/plugins/lua/mime_types.lua2
1 files changed, 1 insertions, 1 deletions
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"},