Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2017 15:34:39 +0000 (UTC)
From:      Glen Barber <gjb@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r50519 - head/share/xml
Message-ID:  <201707181534.v6IFYdTd007616@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gjb
Date: Tue Jul 18 15:34:39 2017
New Revision: 50519
URL: https://svnweb.freebsd.org/changeset/doc/50519

Log:
  Prefer https over http for links to manual pages.
  
  Submitted by:	wosch
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/share/xml/freebsd-fo.xsl
  head/share/xml/freebsd-xhtml-common.xsl

Modified: head/share/xml/freebsd-fo.xsl
==============================================================================
--- head/share/xml/freebsd-fo.xsl	Tue Jul 18 13:02:10 2017	(r50518)
+++ head/share/xml/freebsd-fo.xsl	Tue Jul 18 15:34:39 2017	(r50519)
@@ -386,7 +386,7 @@
 
   <xsl:template match="db:citerefentry">
     <xsl:variable name="xhref">
-      <xsl:text>http://www.FreeBSD.org/cgi/man.cgi?query=</xsl:text>;
+      <xsl:text>https://www.FreeBSD.org/cgi/man.cgi?query=</xsl:text>;
       <xsl:value-of select="db:refentrytitle"/>
       <xsl:text>&amp;sektion=</xsl:text>
       <xsl:value-of select="db:manvolnum"/>
@@ -604,7 +604,7 @@
 
   <xsl:template match="db:citerefentry" mode="titlepage.mode">
     <xsl:variable name="xhref">
-      <xsl:text>http://www.FreeBSD.org/cgi/man.cgi?query=</xsl:text>;
+      <xsl:text>https://www.FreeBSD.org/cgi/man.cgi?query=</xsl:text>;
       <xsl:value-of select="db:refentrytitle"/>
       <xsl:text>&#38;amp;sektion=</xsl:text>
       <xsl:value-of select="db:manvolnum"/>

Modified: head/share/xml/freebsd-xhtml-common.xsl
==============================================================================
--- head/share/xml/freebsd-xhtml-common.xsl	Tue Jul 18 13:02:10 2017	(r50518)
+++ head/share/xml/freebsd-xhtml-common.xsl	Tue Jul 18 15:34:39 2017	(r50519)
@@ -213,7 +213,7 @@
   </xsl:template>
 
   <xsl:template name="generate.citerefentry.link">
-    <xsl:text>http://www.FreeBSD.org/cgi/man.cgi?query=</xsl:text>;
+    <xsl:text>https://www.FreeBSD.org/cgi/man.cgi?query=</xsl:text>;
     <xsl:value-of select="db:refentrytitle"/>
     <xsl:text>&amp;sektion=</xsl:text>
     <xsl:value-of select="db:manvolnum"/>



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