This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 55fd721ace Fix comment.
55fd721ace is described below

commit 55fd721ace4ee8b87fe7303ad221987c8c49ea21
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Oct 29 14:56:06 2024 +0000

    Fix comment.
---
 java/org/apache/catalina/webresources/AbstractFileResourceSet.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/catalina/webresources/AbstractFileResourceSet.java 
b/java/org/apache/catalina/webresources/AbstractFileResourceSet.java
index 951f41d58e..f3b4fd85c1 100644
--- a/java/org/apache/catalina/webresources/AbstractFileResourceSet.java
+++ b/java/org/apache/catalina/webresources/AbstractFileResourceSet.java
@@ -103,7 +103,7 @@ public abstract class AbstractFileResourceSet extends 
AbstractResourceSet {
          * Ensure that the file is not outside the fileBase. This should not 
be possible for standard requests (the
          * request is normalized early in the request processing) but might be 
possible for some access via the Servlet
          * API (e.g. RequestDispatcher, HTTP/2 push etc.) therefore these 
checks are retained as an additional safety
-         * measure absoluteBase has been normalized so absPath needs to be 
normalized as well.
+         * measure. absoluteBase has been normalized so absPath needs to be 
normalized as well.
          */
         String absPath = normalize(file.getAbsolutePath());
         if (absPath == null || absoluteBase.length() > absPath.length()) {


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

Reply via email to