Switch from protocol independent URLs to explicitly using HTTPS as they're not

valid for use in RSS.

PR:		206683
Submitted by:	PR by Nikolai Lifanov, Patch by Tobias Kortkamp
Reviewed by:	bcr (mentor)
Approved by:	gjb
Differential Revision:	https://reviews.freebsd.org/D8715
This commit is contained in:
Sevan Janiyan 2016-12-06 19:50:57 +00:00
parent cf7400e34a
commit 384e90ee7b
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=49712

View file

@ -1056,10 +1056,10 @@
<link>https://www.FreeBSD.org/security</link>
</xsl:when>
<xsl:otherwise>
<link><xsl:value-of select="concat('&ftpbase;', name, '.asc')" /></link>
<link><xsl:value-of select="concat('https:', '&ftpbase;', name, '.asc')" /></link>
</xsl:otherwise>
</xsl:choose>
<guid><xsl:value-of select="concat('&ftpbase;', name, '.asc')" /></guid>
<guid><xsl:value-of select="concat('https:', '&ftpbase;', name, '.asc')" /></guid>
<pubDate>
<xsl:call-template name="misc-format-date-string">
<xsl:with-param name="year" select="../../../name" />
@ -1136,10 +1136,10 @@
<link>https://www.FreeBSD.org/security</link>
</xsl:when>
<xsl:otherwise>
<link><xsl:value-of select="concat('&ftpbase;', name, '.asc')" /></link>
<link><xsl:value-of select="concat('https:', '&ftpbase;', name, '.asc')" /></link>
</xsl:otherwise>
</xsl:choose>
<guid><xsl:value-of select="concat('&ftpbase;', name, '.asc')" /></guid>
<guid><xsl:value-of select="concat('https:', '&ftpbase;', name, '.asc')" /></guid>
<pubDate>
<xsl:call-template name="misc-format-date-string">
<xsl:with-param name="year" select="../../../name" />