Bug 272132

Summary: Extra Slash in RSS Feed Item Links
Product: Documentation Reporter: Mark McBride <mark>
Component: WebsiteAssignee: Sergio Carlavilla Delgado <carlavilla>
Status: Closed FIXED    
Severity: Affects Many People CC: carlavilla, doc
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://www.freebsd.org/security/feed.xml

Description Mark McBride 2023-06-21 15:43:29 UTC
The newest links in the security RSS feed contain an extra "/" after the domain. This caused the cli browser "links" to get stuck in a redirect loop.

Example:
https://www.freebsd.org//security/advisories/FreeBSD-SA-23:05.openssh.asc

Should be:
https://www.freebsd.org/security/advisories/FreeBSD-SA-23:05.openssh.asc

Observable at: https://www.freebsd.org/security/feed.xml
<item>
<title>FreeBSD-SA-23:05.openssh</title>
<link>
https://www.freebsd.org//security/advisories/FreeBSD-SA-23:05.openssh.asc
</link>
<guid>
https://www.freebsd.org//security/advisories/FreeBSD-SA-23:05.openssh.asc
</guid>
<pubDate>2023-06-21</pubDate>
</item>
Comment 1 Graham Perrin freebsd_committer freebsd_triage 2023-06-23 02:44:04 UTC
^Triage: cc the former assignee.
Comment 2 Graham Perrin freebsd_committer freebsd_triage 2023-06-23 02:45:05 UTC
… correction (sorry): doc@, not doceng@.
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-07-22 09:31:54 UTC
A commit in branch main references this bug:

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

commit b2cad1c95aa0da3ab9a307ed0432dd642ff8bc92
Author:     Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
AuthorDate: 2023-07-22 09:30:49 +0000
Commit:     Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
CommitDate: 2023-07-22 09:30:49 +0000

    Security RSS feed: Remove extra slash

    PR:             272132
    Submitted by:   Mark McBride <mark@markmcb.com>

 website/themes/beastie/layouts/security/security.rss.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 4 Sergio Carlavilla Delgado freebsd_committer freebsd_triage 2023-07-22 09:32:20 UTC
Fixed. Thanks for the report.