Highlights
Banned words and links now match what members actually read and what browsers actually open. Text that only looks different to the filter no longer gets past it.
Fixed
- Words and phrases: a banned entry still matches when the text hides it with invisible characters (zero-width spaces, soft hyphens, joiners), with other Unicode spaces (no-break, thin, ideographic), with fullwidth letters, decomposed or folded diacritics, HTML entities (
viagra) or inline Markdown inside the word (via**gra**). - Links: hosts and paths are compared the way a browser opens them: percent-escapes in the host (
bit%2Ely), fullwidth letters and dots, ideographic full stops, a port, user info before@, a trailing dot, extra or dotted path segments, missing slashes after the scheme, and Unicode or punycode spellings of the same domain. - Entries are normalised the same way as the text, so a list entry written with diacritics or in Unicode still matches, and violations report the entry as you listed it.
Changed
- Path rules (such as
example.com/promo) now cover subdomains, as host rules already did. models.LinkEntryreturns the host of an internationalised domain in its ASCII (punycode) form.
Added
classes.MatchHTMLandFilter.CheckHTMLcheck rendered HTML the way members see it, for hosts that render content from Markdown or another source: comments, entities and inline markup are resolved before matching, and link targets inhrefandsrcare checked too.models.CanonicalHostexposes the host normalisation shared by the admin form and the matcher.
No schema or config change; upgrading needs no migration.