Browse Source

Fix regex to no longer match on dmarc=

pull/4960/head
Jason Stephenson 2 weeks ago
parent
commit
05eda3bb5a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/plugins/lua/arc.lua

+ 1
- 1
src/plugins/lua/arc.lua View File

@@ -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

Loading…
Cancel
Save