aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2019-01-29 09:56:06 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2019-01-29 09:56:06 +0300
commitfd4dfc9c250038751683f513a6674495458a51d4 (patch)
tree24b63634d16380a863e80007040647018a9b3394 /src
parent790e5e17aef6ed6a205f3eeb1d1437c9161a6750 (diff)
downloadrspamd-fd4dfc9c250038751683f513a6674495458a51d4.tar.gz
rspamd-fd4dfc9c250038751683f513a6674495458a51d4.zip
[Minor] mime_types: Add "text/plain" CT for "csv" extension
as some MUAs use it.
Diffstat (limited to 'src')
-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 206284a25..d53250510 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"}},