]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Allow "application/vnd.ms-excel" for "csv" files 2741/head
authorAlexander Moisseev <moiseev@mezonplus.ru>
Sun, 3 Feb 2019 16:09:51 +0000 (19:09 +0300)
committerGitHub <noreply@github.com>
Sun, 3 Feb 2019 16:09:51 +0000 (19:09 +0300)
src/plugins/lua/mime_types.lua

index 6588edcbf781a9a1f4cd4dd0462aa2daf3ed4f97..ab2484c34519e09b6d2be18c77d0774135f8c339 100644 (file)
@@ -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"}},