Bug 253768

Summary: FreeBSD Security Feed (RSS) Links
Product: Documentation Reporter: greymeister
Component: WebsiteAssignee: Ryusuke SUZUKI <ryusuke>
Status: Closed FIXED    
Severity: Affects Some People CC: carlavilla, ryusuke, wosch
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 206683, 253011    
Bug Blocks:    

Description greymeister 2021-02-22 18:04:01 UTC
I recently updated my RSS feed for FreeBSD security updates from the https://www.freebsd.org/security/rss.xml to https://www.freebsd.org/security/feed.xml and it seems that the links are fragments instead of a full URL. Here's an example:

<item>
<title>FreeBSD-EN-21:03.vnet</title>
<link>//security/advisories/FreeBSD-EN-21:03.vnet.asc</link>
<guid>//security/advisories/FreeBSD-EN-21:03.vnet.asc</guid>
<pubDate>2021-01-29</pubDate>
</item>

Here's an item from the previous RSS feed:
<item>
<title>FreeBSD-SA-20:07.epair</title>
<link>
https://security.FreeBSD.org/advisories/FreeBSD-SA-20:07.epair.asc
</link>
<guid>
https://security.FreeBSD.org/advisories/FreeBSD-SA-20:07.epair.asc
</guid>
<pubDate>Thu, 19 Mar 2020 00:00:00 PST</pubDate>
</item>

I can access the page by adding https://www.freebsd.org/security/ removing the preceding / but the previous feed didn't have this issue.
Comment 1 commit-hook freebsd_committer 2021-02-24 12:02:13 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/doc/commit/?id=e68d8f44adbd4a34036c62b478e00f06dcd33634

commit e68d8f44adbd4a34036c62b478e00f06dcd33634
Author:     Ryusuke SUZUKI <ryusuke@FreeBSD.org>
AuthorDate: 2021-02-24 12:00:35 +0000
Commit:     Ryusuke SUZUKI <ryusuke@FreeBSD.org>
CommitDate: 2021-02-24 12:00:35 +0000

    Fix broken links in security advisory RSS feed.

    PR:        253768

 website/themes/beastie/layouts/security/security.rss.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)