diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-01-12 15:21:40 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-01-12 15:21:40 +0000 |
commit | 8cc2fca85daf91b18e6eb806a6b63c23db5cd3bf (patch) | |
tree | 7bd4e7d037444e9df11d7fa94e3c41bbe7826f7a /lualib/lua_magic/patterns.lua | |
parent | 7f95594bc755049749258f4b9e1f1a57d45bf480 (diff) | |
download | rspamd-8cc2fca85daf91b18e6eb806a6b63c23db5cd3bf.tar.gz rspamd-8cc2fca85daf91b18e6eb806a6b63c23db5cd3bf.zip |
[Minor] Lua_magic: Add vcf magic pattern
Diffstat (limited to 'lualib/lua_magic/patterns.lua')
-rw-r--r-- | lualib/lua_magic/patterns.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lualib/lua_magic/patterns.lua b/lualib/lua_magic/patterns.lua index 8bdc7ea44..2cf138857 100644 --- a/lualib/lua_magic/patterns.lua +++ b/lualib/lua_magic/patterns.lua @@ -157,6 +157,15 @@ local patterns = { } } }, + vcf = { + matches = { + { + string = [[BEGIN:VCARD]], + weight = 60, + relative_position = 0, + } + } + }, -- Archives arj = { matches = { |