commit a61f559: [Minor] Add non-standard MIME type for iMIP files
moisseev
moiseev at mezonplus.ru
Tue Oct 29 11:49:08 UTC 2019
Author: moisseev
Date: 2019-10-29 11:35:12 +0300
URL: https://github.com/rspamd/rspamd/commit/a61f55920336eb163d25573d5f0da87331bc6e44 (refs/pull/3128/head)
[Minor] Add non-standard MIME type for iMIP files
"application/ics" is non-standard but used by some MUAs
---
conf/maps.d/mime_types.inc | 1 +
lualib/lua_mime.lua | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/conf/maps.d/mime_types.inc b/conf/maps.d/mime_types.inc
index 746ed05ce..69ee97e90 100644
--- a/conf/maps.d/mime_types.inc
+++ b/conf/maps.d/mime_types.inc
@@ -113,6 +113,7 @@ application/hyperstudio 0
application/ibe-key-request+xml 0
application/ibe-pkg-reply+xml 0
application/ibe-pp-data 0
+application/ics 0
application/iges 0
application/im-iscomposing+xml 0
application/index 0
diff --git a/lualib/lua_mime.lua b/lualib/lua_mime.lua
index e00e39325..ca61d86f5 100644
--- a/lualib/lua_mime.lua
+++ b/lualib/lua_mime.lua
@@ -430,7 +430,7 @@ exports.full_extensions_map = {
{"hxx", "text/plain"},
{"i", "text/plain"},
{"ico", "image/x-icon"},
- {"ics", {"text/calendar", "application/octet-stream"}},
+ {"ics", {"text/calendar", "application/ics", "application/octet-stream"}},
{"idl", "text/plain"},
{"ief", "image/ief"},
{"iii", "application/x-iphone"},
More information about the Commits
mailing list