]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Add some standard types for .p7s extension
authorVsevolod Stakhov <vsevolod@rspamd.com>
Thu, 29 Sep 2022 21:31:38 +0000 (22:31 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Thu, 29 Sep 2022 21:32:13 +0000 (22:32 +0100)
lualib/lua_mime_types.lua

index fc069d1a57fb9f9ff9239824fb90c7a10cd714be..6bb20f1d9c8923956086d8d461d31a78ed45c2db 100644 (file)
@@ -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"},