From 1853082fcd8c067390c246f9daa01a9b47387497 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sat, 27 Jun 2026 22:49:21 +0200 Subject: rss: fix self link to include .xml suffix /rss/updates without format suffix returns HTTP 406 when the client does not send an appropriate Accept header. The self link in the Atom feed was pointing to the format-less URL, causing feed readers that follow the self link to hit the 406. Fixed to /rss/updates.xml. --- app/views/rss/updates.xml.builder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/rss/updates.xml.builder b/app/views/rss/updates.xml.builder index 0ea08fa..4b2e2f7 100644 --- a/app/views/rss/updates.xml.builder +++ b/app/views/rss/updates.xml.builder @@ -3,7 +3,7 @@ xml.instruct! xml.feed(:xmlns => "http://www.w3.org/2005/Atom", "xml:base" => @host) do xml.title("Chaos Computer Club Updates") xml.link(:href => "https://www.ccc.de/") - xml.link(:rel => "self", :href => "#{@host}/rss/updates") + xml.link(:rel => "self", :href => "#{@host}/rss/updates.xml") xml.updated(@items.first.published_at.xmlschema) xml.author do xml.name("Chaos Computer Club e.V.") -- cgit v1.3