commit 3cc3391: [Minor] Add some standard types for .p7s extension
Vsevolod Stakhov
vsevolod at rspamd.com
Thu Sep 29 21:35:04 UTC 2022
Author: Vsevolod Stakhov
Date: 2022-09-29 22:31:38 +0100
URL: https://github.com/rspamd/rspamd/commit/3cc3391a5697145f6a0506272d54ec88d8db8dd9 (HEAD -> master)
[Minor] Add some standard types for .p7s extension
---
lualib/lua_mime_types.lua | 4 ++--
1 file 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"},
More information about the Commits
mailing list