Author: jfclere
Date: Fri Sep 29 13:35:42 2023
New Revision: 1912606

URL: http://svn.apache.org/viewvc?rev=1912606&view=rev
Log:
Arrange the URL to go to tomcat-connectors.

Modified:
    tomcat/site/trunk/docs/security-jk.html
    tomcat/site/trunk/xdocs/security-jk.xml
    tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl

Modified: tomcat/site/trunk/docs/security-jk.html
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/docs/security-jk.html?rev=1912606&r1=1912605&r2=1912606&view=diff
==============================================================================
--- tomcat/site/trunk/docs/security-jk.html (original)
+++ tomcat/site/trunk/docs/security-jk.html Fri Sep 29 13:35:42 2023
@@ -30,7 +30,7 @@
        by this issue. The ISAPI redirector is not affected.</p>
 
     <p>This was fixed with commit
-       <a 
href="https://github.com/apache/tomcat/commit/0095b6cb84f41313ee4c0364b49c766168790792";>0095b6cb</a>.</p>
+       <a 
href="https://github.com/apache/tomcat-connectors/commit/0095b6cb84f41313ee4c0364b49c766168790792";>0095b6cb</a>.</p>
 
     <p>This issue was reported to the Tomcat Security Team on 7 July 2023. The
        issue was made public on 13 September 2023.</p>

Modified: tomcat/site/trunk/xdocs/security-jk.xml
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/security-jk.xml?rev=1912606&r1=1912605&r2=1912606&view=diff
==============================================================================
--- tomcat/site/trunk/xdocs/security-jk.xml (original)
+++ tomcat/site/trunk/xdocs/security-jk.xml Fri Sep 29 13:35:42 2023
@@ -43,7 +43,7 @@
        by this issue. The ISAPI redirector is not affected.</p>
 
     <p>This was fixed with commit
-       <hashlink hash="0095b6cb84f41313ee4c0364b49c766168790792"/>.</p>
+       <connectorshashlink 
hash="0095b6cb84f41313ee4c0364b49c766168790792"/>.</p>
 
     <p>This issue was reported to the Tomcat Security Team on 7 July 2023. The
        issue was made public on 13 September 2023.</p>

Modified: tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl
URL: 
http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl?rev=1912606&r1=1912605&r2=1912606&view=diff
==============================================================================
--- tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl (original)
+++ tomcat/site/trunk/xdocs/stylesheets/tomcat-site.xsl Fri Sep 29 13:35:42 2023
@@ -44,6 +44,7 @@
   <xsl:param    name="buglink"       
select="'https://bz.apache.org/bugzilla/show_bug.cgi?id='"/>
   <xsl:param    name="revlink"       
select="'https://svn.apache.org/viewvc?view=rev&amp;rev='"/>
   <xsl:param    name="hashlink"      
select="'https://github.com/apache/tomcat/commit/'"/>
+  <xsl:param    name="connectorshashlink"      
select="'https://github.com/apache/tomcat-connectors/commit/'"/>
   <xsl:param    name="cvelink"       
select="'http://cve.mitre.org/cgi-bin/cvename.cgi?name='"/>
 
   <!-- Defined variables (non-overrideable) -->
@@ -360,6 +361,12 @@
       <a href="{$link}"><xsl:value-of select="substring(@hash, 1, 8)"/></a>
   </xsl:template>
 
+  <!-- Link to a git hash in tomcat-connector  -->
+  <xsl:template match="connectorshashlink">
+      <xsl:variable name="link"><xsl:value-of 
select="$connectorshashlink"/><xsl:value-of select="@hash"/></xsl:variable>
+      <a href="{$link}"><xsl:value-of select="substring(@hash, 1, 8)"/></a>
+  </xsl:template>
+
   <!-- Link to a CVE report -->
   <xsl:template match="cve">
       <xsl:variable name="link"><xsl:value-of select="$cvelink"/><xsl:value-of 
select="text()"/></xsl:variable>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to