diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-24 12:57:33 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-24 12:57:48 +0100 |
commit | 0b5f43d31ee401931d65e4627e0bcebab571be7c (patch) | |
tree | b04668880eb2fcbb48fc4709ba454c2d679ca7d1 /lualib/lua_magic/types.lua | |
parent | 1a86679574a9fddd6c174d260c8b477834f5677c (diff) | |
download | rspamd-0b5f43d31ee401931d65e4627e0bcebab571be7c.tar.gz rspamd-0b5f43d31ee401931d65e4627e0bcebab571be7c.zip |
[Minor] Lua_magic: Add types for .jar and for .apk
Diffstat (limited to 'lualib/lua_magic/types.lua')
-rw-r--r-- | lualib/lua_magic/types.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lualib/lua_magic/types.lua b/lualib/lua_magic/types.lua index 2b2545d87..5626b3445 100644 --- a/lualib/lua_magic/types.lua +++ b/lualib/lua_magic/types.lua @@ -39,6 +39,14 @@ local types = { ct = 'application/x-java-applet', type = 'executable', }, + jar = { + ct = 'application/java-archive', + type = 'archive', + }, + apk = { + ct = 'application/vnd.android.package-archive', + type = 'archive', + }, -- text rtf = { ct = "application/rtf", |