From: Alexander Moisseev Date: Thu, 24 May 2018 08:02:05 +0000 (+0000) Subject: [Minor] Add non-standard CT for xlsx X-Git-Tag: 1.7.6~108^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d2adf2ed582eb9aea76ee1e5769f988d727fe9f5;p=rspamd.git [Minor] Add non-standard CT for xlsx --- diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua index 43142132c..97abf1685 100644 --- a/src/plugins/lua/mime_types.lua +++ b/src/plugins/lua/mime_types.lua @@ -773,7 +773,7 @@ local full_extensions_map = { {"xls", {"application/vnd.ms-excel", "application/vnd.ms-office", "application/x-excel", "application/octet-stream"}}, {"xlsb", "application/vnd.ms-excel.sheet.binary.macroEnabled.12"}, {"xlsm", "application/vnd.ms-excel.sheet.macroEnabled.12"}, - {"xlsx", {"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/octet-stream"}}, + {"xlsx", {"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.ms-excel.12", "application/octet-stream"}}, {"xlt", "application/vnd.ms-excel"}, {"xltm", "application/vnd.ms-excel.template.macroEnabled.12"}, {"xltx", "application/vnd.openxmlformats-officedocument.spreadsheetml.template"},