- address old security links being generated prior to 2000

PR:		206271
Reported by:	mexas@bris.ac.uk
Approved by:	wblock (mentor, doceng), glebius (security)
Differential Revision:	https://reviews.freebsd.org/D5073
This commit is contained in:
Jason Helfman 2016-01-28 22:33:37 +00:00
parent fdcf134dfe
commit 9d558534b5
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=48110
4 changed files with 0 additions and 23 deletions
hu_HU.ISO8859-2/share/xml
nl_NL.ISO8859-1/share/xml
share/xml

View file

@ -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')" />

View file

@ -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')" />

View file

@ -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'>

View file

@ -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')" />