From: Alexander Moisseev Date: Tue, 29 Jan 2019 06:56:06 +0000 (+0300) Subject: [Minor] mime_types: Add "text/plain" CT for "csv" extension X-Git-Tag: 1.9.0~236^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F2737%2Fhead;p=thirdparty%2Frspamd.git [Minor] mime_types: Add "text/plain" CT for "csv" extension as some MUAs use it. --- diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua index 206284a250..d53250510b 100644 --- a/src/plugins/lua/mime_types.lua +++ b/src/plugins/lua/mime_types.lua @@ -286,7 +286,7 @@ local full_extensions_map = { {"csh", "application/x-csh"}, {"csproj", "text/plain"}, {"css", "text/css"}, - {"csv", "text/csv"}, + {"csv", {"text/csv", "text/plain"}}, {"cur", "application/octet-stream"}, {"cxx", "text/plain"}, {"dat", {"application/octet-stream", "application/ms-tnef"}},