aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-04-10 08:28:11 +0100
committerGitHub <noreply@github.com>2020-04-10 08:28:11 +0100
commit52d05f46120f7a4cb9d1c9ff6a1d034dcb7f6849 (patch)
tree2fe23a427386ba7be3dc5c82bb63f6496ce47e2b
parentb8a099632ffc5c8fd84fa44b058acc14d46a7a9b (diff)
parentee1f5bc15dc82b24ea9ef4bbbc1d19b576d63211 (diff)
downloadrspamd-52d05f46120f7a4cb9d1c9ff6a1d034dcb7f6849.tar.gz
rspamd-52d05f46120f7a4cb9d1c9ff6a1d034dcb7f6849.zip
Merge pull request #3329 from moisseev/patch-3
[Minor] Add application/7z CT
-rw-r--r--lualib/lua_mime.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lualib/lua_mime.lua b/lualib/lua_mime.lua
index b839933b0..6d8d75b9b 100644
--- a/lualib/lua_mime.lua
+++ b/lualib/lua_mime.lua
@@ -255,7 +255,7 @@ exports.full_extensions_map = {
{"3gp", "video/3gpp"},
{"3gp2", "video/3gpp2"},
{"3gpp", "video/3gpp"},
- {"7z", "application/x-7z-compressed"},
+ {"7z", {"application/x-7z-compressed", "application/7z"}},
{"aa", "audio/audible"},
{"AAC", "audio/aac"},
{"aaf", "application/octet-stream"},
@@ -969,4 +969,4 @@ exports.reversed_extensions_map = {
["video/x-msvideo"] = "avi",
}
-return exports \ No newline at end of file
+return exports