]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] allow PKCS7 signatures to be text/plain, too 2886/head
authorheraklit256 <heraklit256@users.noreply.github.com>
Sat, 4 May 2019 14:07:34 +0000 (16:07 +0200)
committerheraklit256 <heraklit256@users.noreply.github.com>
Sat, 4 May 2019 14:07:34 +0000 (16:07 +0200)
src/plugins/lua/mime_types.lua

index 51a63f6d56396709cb1a6022afdaac657ea8f1c4..63641b7d03e99cd0e20c4aee842cfa687d0a576c 100644 (file)
@@ -535,7 +535,7 @@ local full_extensions_map = {
   {"p7c", "application/pkcs7-mime"},
   {"p7m", "application/pkcs7-mime"},
   {"p7r", "application/x-pkcs7-certreqresp"},
-  {"p7s", "application/pkcs7-signature"},
+  {"p7s", {"application/pkcs7-signature", "text/plain"}},
   {"pbm", "image/x-portable-bitmap"},
   {"pcast", "application/x-podcast"},
   {"pct", "image/pict"},