svn commit: r49712 - head/share/xml

Sevan Janiyan <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
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" />
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.