diff options
author | Kresten <kresten@nemtilmeld.dk> | 2018-10-04 13:54:11 +0200 |
---|---|---|
committer | Kresten <kresten@nemtilmeld.dk> | 2018-10-04 13:54:11 +0200 |
commit | bdc0f6d56b8f01bc3c56d4976ec2ca0691254c46 (patch) | |
tree | f8f615756339c1e3541e5b9188b1effa559506b1 /src | |
parent | b0e57e8f54ee6a8d3a723921452b5cc8ef1e97aa (diff) | |
download | rspamd-bdc0f6d56b8f01bc3c56d4976ec2ca0691254c46.tar.gz rspamd-bdc0f6d56b8f01bc3c56d4976ec2ca0691254c46.zip |
Added "text/calendar" as a legal mimetype for .ics files. Files are failing this test, and "text/calendar" seems to be the correct one from https://tools.ietf.org/html/rfc5545
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/lua/mime_types.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua index 7e383724b..e8ce709da 100644 --- a/src/plugins/lua/mime_types.lua +++ b/src/plugins/lua/mime_types.lua @@ -376,7 +376,7 @@ local full_extensions_map = { {"hxx", "text/plain"}, {"i", "text/plain"}, {"ico", "image/x-icon"}, - {"ics", "application/octet-stream"}, + {"ics", {"text/calendar", "application/octet-stream"}}, {"idl", "text/plain"}, {"ief", "image/ief"}, {"iii", "application/x-iphone"}, |