mirror of
https://github.com/juherr/kill-the-news.git
synced 2026-06-20 22:03:48 +00:00
fix(favicon): fall back to apex domain when subdomain hosts no icon
Senders on a subdomain that hosts no favicon (e.g. mail.example.com) left feeds blank because both the direct /favicon.ico and the DuckDuckGo lookup were tried only against the full subdomain. Resolution now walks up to the apex via Domain.parents() and caches the result under the original sender domain. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -21,6 +21,11 @@ verbatim as the GitHub Release notes — so what you write here is what ships.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Per-feed favicons now resolve for senders on a subdomain that hosts no icon of
|
||||
its own (e.g. `mail.example.com`): the lookup walks up to the apex domain
|
||||
(`example.com`) and uses its favicon, caching it under the original sender
|
||||
domain. Previously both the direct `/favicon.ico` and the DuckDuckGo lookup
|
||||
were tried only against the full subdomain, leaving such feeds blank.
|
||||
- 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
|
||||
|
||||
Reference in New Issue
Block a user