aboutsummaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-09-29 22:31:38 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-09-29 22:32:13 +0100
commit3cc3391a5697145f6a0506272d54ec88d8db8dd9 (patch)
treeedc9e39a68eae22fd31d07113e9bf8da684e9601 /lualib
parent12430a51e53dda659bd1e7136afeacf6bd2b8695 (diff)
downloadrspamd-3cc3391a5697145f6a0506272d54ec88d8db8dd9.tar.gz
rspamd-3cc3391a5697145f6a0506272d54ec88d8db8dd9.zip
[Minor] Add some standard types for .p7s extension
Diffstat (limited to 'lualib')
-rw-r--r--lualib/lua_mime_types.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lualib/lua_mime_types.lua b/lualib/lua_mime_types.lua
index fc069d1a5..6bb20f1d9 100644
--- a/lualib/lua_mime_types.lua
+++ b/lualib/lua_mime_types.lua
@@ -358,9 +358,9 @@ exports.full_extensions_map = {
{"p12", "application/x-pkcs12"},
{"p7b", "application/x-pkcs7-certificates"},
{"p7c", "application/pkcs7-mime"},
- {"p7m", "application/pkcs7-mime"},
+ {"p7m", "application/pkcs7-mime", "application/x-pkcs7-mime"},
{"p7r", "application/x-pkcs7-certreqresp"},
- {"p7s", {"application/pkcs7-signature", "text/plain"}},
+ {"p7s", {"application/pkcs7-signature", "application/x-pkcs7-signature", "text/plain"}},
{"pbm", "image/x-portable-bitmap"},
{"pcast", "application/x-podcast"},
{"pct", "image/pict"},