aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-02-03 19:16:23 +0000
committerGitHub <noreply@github.com>2019-02-03 19:16:23 +0000
commitf4212ea7964c3579ee139a6b281e70e6361b63f7 (patch)
tree2f019dab63e8af17d9b9bde763e94e24f380ac8f
parente4eab3822fe257ed4a044390a04eaba9a126afcd (diff)
parent031be7b142ead033203689ce4e8dc906d329e43c (diff)
downloadrspamd-f4212ea7964c3579ee139a6b281e70e6361b63f7.tar.gz
rspamd-f4212ea7964c3579ee139a6b281e70e6361b63f7.zip
Merge pull request #2741 from moisseev/patch-2
[Minor] Allow "application/vnd.ms-excel" for "csv" files
-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 6588edcbf..ab2484c34 100644
--- a/src/plugins/lua/mime_types.lua
+++ b/src/plugins/lua/mime_types.lua
@@ -287,7 +287,7 @@ local full_extensions_map = {
{"csh", "application/x-csh"},
{"csproj", "text/plain"},
{"css", "text/css"},
- {"csv", {"text/csv", "text/plain"}},
+ {"csv", {"application/vnd.ms-excel", "text/csv", "text/plain"}},
{"cur", "application/octet-stream"},
{"cxx", "text/plain"},
{"dat", {"application/octet-stream", "application/ms-tnef"}},