aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_magic
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-11-20 11:23:56 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-11-20 11:24:17 +0000
commitf5bebd97dba16d9994d49b5b8832b72950d511cd (patch)
tree9f9ada5856e22130afb5f13e9438feaa0f351332 /lualib/lua_magic
parent149d5d9ba3fed43562b16911cadf78c53201c0a7 (diff)
downloadrspamd-f5bebd97dba16d9994d49b5b8832b72950d511cd.tar.gz
rspamd-f5bebd97dba16d9994d49b5b8832b72950d511cd.zip
[Minor] Lua_magic: Add ics pattern
Diffstat (limited to 'lualib/lua_magic')
-rw-r--r--lualib/lua_magic/patterns.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/lualib/lua_magic/patterns.lua b/lualib/lua_magic/patterns.lua
index d04c3c57e..5e62b47f9 100644
--- a/lualib/lua_magic/patterns.lua
+++ b/lualib/lua_magic/patterns.lua
@@ -147,6 +147,15 @@ local patterns = {
},
}
},
+ ics = {
+ matches = {
+ {
+ string = [[BEGIN:VCALENDAR]],
+ weight = 60,
+ relative_position = 0,
+ }
+ }
+ },
-- Archives
arj = {
matches = {