commit f5bebd9: [Minor] Lua_magic: Add ics pattern
Vsevolod Stakhov
vsevolod at highsecure.ru
Fri Nov 20 11:28:08 UTC 2020
Author: Vsevolod Stakhov
Date: 2020-11-20 11:23:56 +0000
URL: https://github.com/rspamd/rspamd/commit/f5bebd97dba16d9994d49b5b8832b72950d511cd (HEAD -> master)
[Minor] Lua_magic: Add ics pattern
---
lualib/lua_magic/patterns.lua | 9 +++++++++
1 file changed, 9 insertions(+)
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 = {
More information about the Commits
mailing list