Browse Source

Merge pull request #2886 from heraklit256/p7s-textplain

[Fix] allow PKCS7 signatures to be text/plain, too
pull/2891/head
Vsevolod Stakhov 7 years ago
committed by GitHub
parent
commit
649b271219
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/plugins/lua/mime_types.lua

2
src/plugins/lua/mime_types.lua

@ -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"},

Loading…
Cancel
Save