mirror of
https://github.com/juherr/kill-the-news.git
synced 2026-06-20 22:03:48 +00:00
fix(confirmation): flag code-based OTP signups with no clickable link
Detect verification-code signups (e.g. "your verification code is 371404") whose only link is a mailto. These cleared the keyword threshold but were dropped because the detector required an http(s) candidate link. A code path now raises the flag/badge/banner when a verification keyword sits next to an OTP-style code; the code is never extracted or surfaced. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -21,6 +21,12 @@ verbatim as the GitHub Release notes — so what you write here is what ships.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Subscription-confirmation detection now flags code-based signup verifications
|
||||
(OTP) that have no link to click — e.g. "Your verification code is 371404",
|
||||
whose only link is a `mailto:` support address. These cleared the keyword
|
||||
threshold but were dropped because the detector required an http(s) candidate
|
||||
link. A code path now raises the flag/badge/banner when a verification keyword
|
||||
sits next to an OTP-style code; the code itself is never extracted or surfaced.
|
||||
- Subscription-confirmation detection now recognizes localized "subscribe" CTAs.
|
||||
The weak link-signal vocabulary was English-only (`subscrib`),
|
||||
so a genuine double opt-in whose confirm button reads "Je m'inscris…" over an
|
||||
|
||||
Reference in New Issue
Block a user