diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-10-29 11:44:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-29 11:44:14 +0000 |
commit | 438c7f3cfa8aaad7a05853f59774b46fe5a22adf (patch) | |
tree | 987cd77191dc5a1e04291033763fb047ce4aa78e | |
parent | f4e9412232ea1db4b17b0301fd9ddbe3a1c74806 (diff) | |
parent | a61f55920336eb163d25573d5f0da87331bc6e44 (diff) | |
download | rspamd-438c7f3cfa8aaad7a05853f59774b46fe5a22adf.tar.gz rspamd-438c7f3cfa8aaad7a05853f59774b46fe5a22adf.zip |
Merge pull request #3128 from moisseev/ics
[Minor] Add non-standard MIME type for iMIP files
-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"}, |