Bläddra i källkod

[Minor] Fix find to search for plain substrings only

tags/3.2
Vsevolod Stakhov 2 år sedan
förälder
incheckning
03ff121256
Inget konto är kopplat till bidragsgivarens mejladress
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      src/plugins/lua/reputation.lua

+ 1
- 1
src/plugins/lua/reputation.lua Visa fil

@@ -177,7 +177,7 @@ local function dkim_reputation_filter(task, rule)
-- all requests to find any request with the matching tld
local sel_tld
for _,tld in ipairs(dkim_tlds) do
if k:find(tld) then
if k:find(tld, 1, true) then
sel_tld = tld
break
end

Laddar…
Avbryt
Spara