You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kk...@apache.org on 2017/10/04 16:21:53 UTC

svn commit: r1811106 - /tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl

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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org