svn commit: r49712 - head/share/xml
Sevan Janiyan
sevan at FreeBSD.org
Tue Dec 6 19:50:58 UTC 2016
Author: sevan
Date: Tue Dec 6 19:50:57 2016
New Revision: 49712
URL: https://svnweb.freebsd.org/changeset/doc/49712
Log:
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
Modified:
head/share/xml/libcommon.xsl
Modified: head/share/xml/libcommon.xsl
==============================================================================
--- head/share/xml/libcommon.xsl Tue Dec 6 19:15:01 2016 (r49711)
+++ head/share/xml/libcommon.xsl Tue Dec 6 19:50:57 2016 (r49712)
@@ -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" />
More information about the svn-doc-head
mailing list