commit 031be7b: [Minor] Allow "application/vnd.ms-excel" for "csv" files
GitHub
noreply at github.com
Sun Feb 3 19:21:03 UTC 2019
Author: Alexander Moisseev
Date: 2019-02-03 19:09:51 +0300
URL: https://github.com/rspamd/rspamd/commit/031be7b142ead033203689ce4e8dc906d329e43c (refs/pull/2741/head)
[Minor] Allow "application/vnd.ms-excel" for "csv" files
---
src/plugins/lua/mime_types.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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"}},
More information about the Commits
mailing list