diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-02-03 19:16:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-03 19:16:23 +0000 |
commit | f4212ea7964c3579ee139a6b281e70e6361b63f7 (patch) | |
tree | 2f019dab63e8af17d9b9bde763e94e24f380ac8f | |
parent | e4eab3822fe257ed4a044390a04eaba9a126afcd (diff) | |
parent | 031be7b142ead033203689ce4e8dc906d329e43c (diff) | |
download | rspamd-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.lua | 2 |
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"}}, |