svn commit: r48110 - in head: hu_HU.ISO8859-2/share/xml nl_NL.ISO8859-1/share/xml share/xml
Jason Helfman
jgh at FreeBSD.org
Thu Jan 28 22:33:39 UTC 2016
Author: jgh
Date: Thu Jan 28 22:33:37 2016
New Revision: 48110
URL: https://svnweb.freebsd.org/changeset/doc/48110
Log:
- address old security links being generated prior to 2000
PR: 206271
Reported by: mexas at bris.ac.uk
Approved by: wblock (mentor, doceng), glebius (security)
Differential Revision: https://reviews.freebsd.org/D5073
Modified:
head/hu_HU.ISO8859-2/share/xml/libcommon.xsl
head/nl_NL.ISO8859-1/share/xml/libcommon.xsl
head/share/xml/common.ent
head/share/xml/libcommon.xsl
Modified: head/hu_HU.ISO8859-2/share/xml/libcommon.xsl
==============================================================================
--- head/hu_HU.ISO8859-2/share/xml/libcommon.xsl Thu Jan 28 22:22:19 2016 (r48109)
+++ head/hu_HU.ISO8859-2/share/xml/libcommon.xsl Thu Jan 28 22:33:37 2016 (r48110)
@@ -311,7 +311,6 @@
<xsl:template name="html-list-advisories-putitems">
<xsl:param name="items" select="''" />
<xsl:param name="prefix" select="''" />
- <xsl:param name="prefixold" select="''" />
<xsl:if test="$items">
<table>
@@ -335,12 +334,6 @@
<xsl:when test="@omithref='yes'">
<xsl:value-of select="name" />
</xsl:when>
- <xsl:when test="name/@role='old'">
- <a><xsl:attribute name="href">
- <xsl:value-of select="concat($prefixold, name, '.asc')" />
- </xsl:attribute>
- <xsl:value-of select="concat(name, '.asc')" /></a>
- </xsl:when>
<xsl:otherwise>
<a><xsl:attribute name="href">
<xsl:value-of select="concat($prefix, name, '.asc')" />
Modified: head/nl_NL.ISO8859-1/share/xml/libcommon.xsl
==============================================================================
--- head/nl_NL.ISO8859-1/share/xml/libcommon.xsl Thu Jan 28 22:22:19 2016 (r48109)
+++ head/nl_NL.ISO8859-1/share/xml/libcommon.xsl Thu Jan 28 22:33:37 2016 (r48110)
@@ -197,7 +197,6 @@
<xsl:param name="itemtype" select="''" />
<xsl:param name="itemtype" select="''" />
<xsl:param name="prefix" select="''" />
- <xsl:param name="prefixold" select="''" />
<xsl:if test="$items">
<table>
@@ -221,12 +220,6 @@
<xsl:when test="@omithref='yes'">
<xsl:value-of select="name" />
</xsl:when>
- <xsl:when test="name/@role='old'">
- <a><xsl:attribute name="href">
- <xsl:value-of select="concat($prefixold, name, '.asc')" />
- </xsl:attribute>
- <xsl:value-of select="concat(name, '.asc')" /></a>
- </xsl:when>
<xsl:otherwise>
<a><xsl:attribute name="href">
<xsl:value-of select="concat($prefix, name, '.asc')" />
Modified: head/share/xml/common.ent
==============================================================================
--- head/share/xml/common.ent Thu Jan 28 22:22:19 2016 (r48109)
+++ head/share/xml/common.ent Thu Jan 28 22:33:37 2016 (r48110)
@@ -36,7 +36,6 @@
<!ENTITY cgibase "//www.FreeBSD.org/cgi">
<!ENTITY ftpbase "//security.FreeBSD.org/advisories/">
-<!ENTITY ftpbaseold "ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/advisories/old/">
<!ENTITY ftpbaseerrata "//security.FreeBSD.org/advisories/">
<!ENTITY os 'FreeBSD'>
Modified: head/share/xml/libcommon.xsl
==============================================================================
--- head/share/xml/libcommon.xsl Thu Jan 28 22:22:19 2016 (r48109)
+++ head/share/xml/libcommon.xsl Thu Jan 28 22:33:37 2016 (r48110)
@@ -782,7 +782,6 @@
<xsl:with-param name="items" select="document($advisories.xml)//advisory" />
<xsl:with-param name="itemtype" select="'Advisory'" />
<xsl:with-param name="prefix" select="'&ftpbase;'" />
- <xsl:with-param name="prefixold" select="'&ftpbaseold;'" />
</xsl:call-template>
</xsl:when>
@@ -791,7 +790,6 @@
<xsl:with-param name="items" select="document($advisories.xml)//notice" />
<xsl:with-param name="itemtype" select="'Errata Notice'" />
<xsl:with-param name="prefix" select="'&ftpbaseerrata;'" />
- <xsl:with-param name="prefixold" select="'&ftpbaseerrata;'" />
</xsl:call-template>
</xsl:when>
</xsl:choose>
@@ -828,12 +826,6 @@
<xsl:when test="@omithref='yes'">
<xsl:value-of select="name" />
</xsl:when>
- <xsl:when test="name/@role='old'">
- <a><xsl:attribute name="href">
- <xsl:value-of select="concat($prefixold, name, '.asc')" />
- </xsl:attribute>
- <xsl:value-of select="concat(name, '.asc')" /></a>
- </xsl:when>
<xsl:otherwise>
<a><xsl:attribute name="href">
<xsl:value-of select="concat($prefix, name, '.asc')" />
More information about the svn-doc-head
mailing list