diff options
author | Jason Stephenson <jstephenson@mimecast.com> | 2024-05-13 11:55:47 +0100 |
---|---|---|
committer | Jason Stephenson <jstephenson@mimecast.com> | 2024-05-13 11:55:47 +0100 |
commit | 05eda3bb5a60014614a5eea3111bd5af994d716c (patch) | |
tree | 0e83f1a8da389a4b1573274d79abbe9151c68a93 /src/plugins | |
parent | c8f3600c70b2a02e69550f0fcc610dce0f07d48b (diff) | |
download | rspamd-05eda3bb5a60014614a5eea3111bd5af994d716c.tar.gz rspamd-05eda3bb5a60014614a5eea3111bd5af994d716c.zip |
Fix regex to no longer match on dmarc=
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/arc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/arc.lua b/src/plugins/lua/arc.lua index ff19aef4c..1533655d5 100644 --- a/src/plugins/lua/arc.lua +++ b/src/plugins/lua/arc.lua @@ -639,7 +639,7 @@ local function prepare_arc_selector(task, sel) local ar_header = task:get_header('Authentication-Results') if ar_header then - local arc_match = string.match(ar_header, 'arc=(%w+)') + local arc_match = string.match(ar_header, '[; ]arc=(%w+)') if arc_match then if arc_match == 'none' or arc_match == 'pass' then |