From: Vsevolod Stakhov Date: Thu, 29 Sep 2022 21:31:38 +0000 (+0100) Subject: [Minor] Add some standard types for .p7s extension X-Git-Tag: 3.3~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3cc3391a5697145f6a0506272d54ec88d8db8dd9;p=rspamd.git [Minor] Add some standard types for .p7s extension --- 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"},