aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-24 16:00:04 +0100
committerGitHub <noreply@github.com>2018-05-24 16:00:04 +0100
commit37ffe39a136a70806d41ecf01cd00f07f903717b (patch)
tree5195d59a4ae03555490a3130dc0a15c427c1d406
parent714eb56e1760fdfb26afccde92664d3a2f1e8435 (diff)
parentd2adf2ed582eb9aea76ee1e5769f988d727fe9f5 (diff)
downloadrspamd-37ffe39a136a70806d41ecf01cd00f07f903717b.tar.gz
rspamd-37ffe39a136a70806d41ecf01cd00f07f903717b.zip
Merge pull request #2262 from moisseev/patch-1
[Minor] Add non-standard CT for xlsx
-rw-r--r--src/plugins/lua/mime_types.lua2
1 files changed, 1 insertions, 1 deletions
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"},