commit 8c1a630: [Minor] Add "application/excel" CT for "*.xls"

Alexander Moisseev moiseev at mezonplus.ru
Mon Jun 10 08:00:06 UTC 2019


Author: Alexander Moisseev
Date: 2019-06-10 09:02:41 +0300
URL: https://github.com/rspamd/rspamd/commit/8c1a63055744fbc4cf50c723621203bea4077e6e (refs/pull/2921/head)

[Minor] Add "application/excel" CT for "*.xls"

---
 src/plugins/lua/mime_types.lua | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua
index ccea74dc3..55353394a 100644
--- a/src/plugins/lua/mime_types.lua
+++ b/src/plugins/lua/mime_types.lua
@@ -785,6 +785,7 @@ local full_extensions_map = {
   {"xll", "application/vnd.ms-excel"},
   {"xlm", "application/vnd.ms-excel"},
   {"xls", {
+    "application/excel",
     "application/vnd.ms-excel",
     "application/vnd.ms-office",
     "application/x-excel",


More information about the Commits mailing list