aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_mime.lua
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2020-04-10 10:06:53 +0300
committerGitHub <noreply@github.com>2020-04-10 10:06:53 +0300
commitee1f5bc15dc82b24ea9ef4bbbc1d19b576d63211 (patch)
tree2fe23a427386ba7be3dc5c82bb63f6496ce47e2b /lualib/lua_mime.lua
parentb8a099632ffc5c8fd84fa44b058acc14d46a7a9b (diff)
downloadrspamd-ee1f5bc15dc82b24ea9ef4bbbc1d19b576d63211.tar.gz
rspamd-ee1f5bc15dc82b24ea9ef4bbbc1d19b576d63211.zip
[Minor] Add application/7z CT
Diffstat (limited to 'lualib/lua_mime.lua')
-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