diff options
author | moisseev <moiseev@mezonplus.ru> | 2019-10-29 11:35:12 +0300 |
---|---|---|
committer | moisseev <moiseev@mezonplus.ru> | 2019-10-29 11:35:12 +0300 |
commit | a61f55920336eb163d25573d5f0da87331bc6e44 (patch) | |
tree | 9c9b5c60bf7641b622684f00ffb9672ea5195294 | |
parent | 3acc923829f797d4a960656f31266ab546e83602 (diff) | |
download | rspamd-a61f55920336eb163d25573d5f0da87331bc6e44.tar.gz rspamd-a61f55920336eb163d25573d5f0da87331bc6e44.zip |
[Minor] Add non-standard MIME type for iMIP files
"application/ics" is non-standard but used by some MUAs
-rw-r--r-- | conf/maps.d/mime_types.inc | 1 | ||||
-rw-r--r-- | lualib/lua_mime.lua | 2 |
2 files changed, 2 insertions, 1 deletions
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"}, |