From 91b6857607824243cf9c6d789d05dee067aa3ef6 Mon Sep 17 00:00:00 2001 From: swag Date: Fri, 12 May 2023 15:23:44 -0400 Subject: [PATCH] Moar RSS validation shit --- lib/PostText/Controller/Thread.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/PostText/Controller/Thread.pm b/lib/PostText/Controller/Thread.pm index 15b356a..e0d1fbe 100644 --- a/lib/PostText/Controller/Thread.pm +++ b/lib/PostText/Controller/Thread.pm @@ -110,8 +110,9 @@ sub feed($self) { lastBuildDate => time2str('%a, %d %b %Y %X %z', time), atom => { link => { - href => $rss_link, - rel => 'self' + href => "$rss_link", # I have no idea why this needs quotes?? + rel => 'self', + type => 'application/rss+xml' } } );