Author: kkolinko
Date: Wed Oct 4 16:21:53 2017
New Revision: 1811106
URL: http://svn.apache.org/viewvc?rev=1811106&view=rev
Log:
Be more specific with a '.cgi' name check. This does not affect the current
version of the site, but is more safe for future changes.
Modified:
tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl
Modified: tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl
URL:
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl?rev=1811106&r1=1811105&r2=1811106&view=diff
==============================================================================
--- tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl (original)
+++ tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl Wed Oct 4 16:21:53 2017
@@ -177,7 +177,7 @@
<xsl:when test="starts-with(@href, 'https://')">
<xsl:value-of select="@href"/>
</xsl:when>
- <xsl:when test="contains(@href, 'cgi')">
+ <xsl:when test="contains(@href, '.cgi')">
<xsl:text>https://tomcat.apache.org</xsl:text><xsl:value-of
select="@href"/>
</xsl:when>
<!--
@@ -203,7 +203,7 @@
<xsl:when test="starts-with(@href, 'https://')">
<xsl:value-of select="@href"/>
</xsl:when>
- <xsl:when test="contains(@href, 'cgi')">
+ <xsl:when test="contains(@href, '.cgi')">
<xsl:text>https://tomcat.apache.org/</xsl:text><xsl:value-of
select="@href"/>
</xsl:when>
<xsl:otherwise>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]