maintainer-approval requested: [Bug 206683] Website links in "security" and "errata" RSS feeds are broken : [Attachment 176579] libcommon.diff

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 3 06:27:04 UTC 2016


Tobias Kortkamp <t at tobik.me> has asked FreeBSD doc mailing list
<freebsd-doc at FreeBSD.org> for maintainer-approval:
Bug 206683: Website links in "security" and "errata" RSS feeds are broken
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206683

Attachment 176579: libcommon.diff
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=176579&action=edit



--- Comment #5 from Tobias Kortkamp <t at tobik.me> ---
Created attachment 176579
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=176579&action=edit
libcommon.diff

This patch fixes the RSS feeds by prepending https: to the <link> and <guid>
tags for every item.

As was pointed out by Mark share/xml/common.ent was changed to use
protocol-relative URLs in doc r45654.  However RSS doesn't support
protocol-relative URLs AFAICT, so this seems like the easiest way to fix this.

FYI, here is what Feed Validator has to say about FreeBSD's RSS feeds:
http://www.feedvalidator.org/check.cgi?url=https%3A%2F%2Fwww.freebsd.org%2Fsecu
rity%2Frss.xml


More information about the freebsd-doc mailing list