From fd4dfc9c250038751683f513a6674495458a51d4 Mon Sep 17 00:00:00 2001 From: Alexander Moisseev Date: Tue, 29 Jan 2019 09:56:06 +0300 Subject: [Minor] mime_types: Add "text/plain" CT for "csv" extension as some MUAs use it. --- src/plugins/lua/mime_types.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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"}}, -- cgit v1.2.3