]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Rework] Rewrite fuzzy_html_phishing rule with proper config awareness
authorVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 13 Feb 2026 10:11:25 +0000 (10:11 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 13 Feb 2026 10:11:25 +0000 (10:11 +0000)
commit0107943a038e112b4cfc8055f70958b82e3b9c8b
tree1bb5c1fee9097d63763f134475ff16e5de5bf2fe
parenteffbda8327cb3930a13699624ffb8e0beea1a964
[Rework] Rewrite fuzzy_html_phishing rule with proper config awareness

Rewrite fuzzy HTML phishing mismatch detection to read fuzzy_check
config at load time and only check symbols from rules that have
html_shingles enabled. Fix broken virtual symbol registration by
registering callback first and linking virtuals via parent id.
Skip registration entirely when no rules have html_shingles.
rules/fuzzy_html_phishing.lua