A site icon the page names but that is missing is stored anyway #79

Closed
opened 2026-09-29 05:39:24 -07:00 by rays · 1 comment
Owner

feed::site_icon takes the icon a site's page names in its tags without checking it exists, so it never falls back to /favicon.ico. antirez.com's feed (http://antirez.com/rss) has no artwork; its home page names /images/favicon.png, which 404s, while https://antirez.com/favicon.ico is a real image/x-icon. The miss is stored once and never looked for again (main.rs, the 'Looked for once' block), so the feed shows no art. Found looking into why antirez's feed has no image.

feed::site_icon takes the icon a site's page names in its <link> tags without checking it exists, so it never falls back to /favicon.ico. antirez.com's feed (http://antirez.com/rss) has no artwork; its home page names /images/favicon.png, which 404s, while https://antirez.com/favicon.ico is a real image/x-icon. The miss is stored once and never looked for again (main.rs, the 'Looked for once' block), so the feed shows no art. Found looking into why antirez's feed has no image.
rays added the bug label 2026-09-29 05:39:24 -07:00
Author
Owner

Fixed in 95a8633: site_icon now checks that the icon a page names answers with an image before using it, and falls back to /favicon.ico otherwise. Deployed. A feed that already has the dead URL stored keeps it until its image is cleared, since the lookup happens once.

Fixed in 95a8633: site_icon now checks that the icon a page names answers with an image before using it, and falls back to /favicon.ico otherwise. Deployed. A feed that already has the dead URL stored keeps it until its image is cleared, since the lookup happens once.
rays closed this issue 2026-09-29 05:42:56 -07:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rays/ipx#79