diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-04 15:23:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-04 15:23:43 +0100 |
commit | 99c862f6176f60b8f2b9939f06298696b9d261af (patch) | |
tree | 674594972f155ba116c3653150d15817aa7cf9c2 /src | |
parent | 1187b07ab7408a2f50952173c931a3a6a57c1590 (diff) | |
parent | bdc0f6d56b8f01bc3c56d4976ec2ca0691254c46 (diff) | |
download | rspamd-99c862f6176f60b8f2b9939f06298696b9d261af.tar.gz rspamd-99c862f6176f60b8f2b9939f06298696b9d261af.zip |
Merge pull request #2565 from krestenk/master
Added "text/calendar" as a legal mimetype for .ics files.
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"}, |