This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 10.1.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push: new b74fb7e9a5 Fix comment. b74fb7e9a5 is described below commit b74fb7e9a5198b45e4e06ed8abb91a73d5e01875 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