commit 2b7e6c8: Use the correct mime format for 7z

Jason Stephenson jstephenson at mimecast.com
Mon Jun 19 21:42:03 UTC 2023


Author: Jason Stephenson
Date: 2023-06-19 15:42:57 +0100
URL: https://github.com/rspamd/rspamd/commit/2b7e6c87eb425b99ba3d1217c52710afe406ef2c (refs/pull/4517/head)

Use the correct mime format for 7z

---
 lualib/lua_magic/types.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lualib/lua_magic/types.lua b/lualib/lua_magic/types.lua
index 859c578ca..3dce2e1f8 100644
--- a/lualib/lua_magic/types.lua
+++ b/lualib/lua_magic/types.lua
@@ -251,7 +251,7 @@ local types = {
     type = 'archive',
   },
   ['7z'] = {
-    ct = 'x-7z-compressed',
+    ct = 'application/x-7z-compressed',
     type = 'archive',
   },
   gz = {


More information about the Commits mailing list