From: Alexander Moisseev Date: Sun, 3 Feb 2019 16:09:51 +0000 (+0300) Subject: [Minor] Allow "application/vnd.ms-excel" for "csv" files X-Git-Tag: 1.9.0~223^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=031be7b142ead033203689ce4e8dc906d329e43c;p=rspamd.git [Minor] Allow "application/vnd.ms-excel" for "csv" files --- 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"}},