summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2018-05-24 08:02:05 +0000
committerGitHub <noreply@github.com>2018-05-24 08:02:05 +0000
commitd2adf2ed582eb9aea76ee1e5769f988d727fe9f5 (patch)
tree5195d59a4ae03555490a3130dc0a15c427c1d406 /src
parent714eb56e1760fdfb26afccde92664d3a2f1e8435 (diff)
downloadrspamd-d2adf2ed582eb9aea76ee1e5769f988d727fe9f5.tar.gz
rspamd-d2adf2ed582eb9aea76ee1e5769f988d727fe9f5.zip
[Minor] Add non-standard CT for xlsx
Diffstat (limited to 'src')
-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"},