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
commit aaecbbab35db1f07cfcfc7996e5f92b3f929e315 Author: remm <r...@apache.org> AuthorDate: Thu Jun 27 20:26:59 2024 +0200 Try to adjust for Windows --- java/org/apache/jasper/compiler/ParserController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/org/apache/jasper/compiler/ParserController.java b/java/org/apache/jasper/compiler/ParserController.java index b35f58331d..2d89348a1e 100644 --- a/java/org/apache/jasper/compiler/ParserController.java +++ b/java/org/apache/jasper/compiler/ParserController.java @@ -533,7 +533,7 @@ class ParserController implements TagConstants { String fileName = inFileName.replace('\\', '/'); boolean isAbsolute = fileName.startsWith("/"); if (!isAbsolute) { - fileName = Paths.get(baseDirStack.peekFirst() + fileName).normalize().toString(); + fileName = Paths.get(baseDirStack.peekFirst() + fileName).normalize().toString().replace('\\', '/'); } String baseDir = fileName.substring(0, fileName.lastIndexOf('/') + 1); baseDirStack.addFirst(baseDir); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org