commit ee1f5bc: [Minor] Add application/7z CT
GitHub
noreply at github.com
Fri Apr 10 07:35:07 UTC 2020
Author: Alexander Moisseev
Date: 2020-04-10 10:06:53 +0300
URL: https://github.com/rspamd/rspamd/commit/ee1f5bc15dc82b24ea9ef4bbbc1d19b576d63211 (refs/pull/3329/head)
[Minor] Add application/7z CT
---
lualib/lua_mime.lua | 4 ++--
1 file 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
More information about the Commits
mailing list