From 3cc3391a5697145f6a0506272d54ec88d8db8dd9 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 29 Sep 2022 22:31:38 +0100 Subject: [PATCH] [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"}, -- 2.39.5