]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Add application/7z CT 3329/head
authorAlexander Moisseev <moiseev@mezonplus.ru>
Fri, 10 Apr 2020 07:06:53 +0000 (10:06 +0300)
committerGitHub <noreply@github.com>
Fri, 10 Apr 2020 07:06:53 +0000 (10:06 +0300)
lualib/lua_mime.lua

index b839933b051cd53b8fc2fd78d2859b84c6bfe835..6d8d75b9b8628dee932830d7bc2d51e2bbabcccf 100644 (file)
@@ -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