Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Dec 2016 19:50:57 +0000 (UTC)
From:      Sevan Janiyan <sevan@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r49712 - head/share/xml
Message-ID:  <201612061950.uB6Jov52043052@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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" />



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612061950.uB6Jov52043052>