]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Add non-standard CT for xlsx 2262/head
authorAlexander Moisseev <moiseev@mezonplus.ru>
Thu, 24 May 2018 08:02:05 +0000 (08:02 +0000)
committerGitHub <noreply@github.com>
Thu, 24 May 2018 08:02:05 +0000 (08:02 +0000)
src/plugins/lua/mime_types.lua

index 43142132cb730cc69e48f92873900c4073a4d3c5..97abf1685623f598cf8f093ff1d3ea46ca88bce2 100644 (file)
@@ -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"},