From 6e49bd79b2cfde2cc5f54b8e4bd0d013bb82c6b3 Mon Sep 17 00:00:00 2001 From: melloware Date: Fri, 7 Jul 2023 13:23:15 -0400 Subject: [PATCH] Undertow correct path when building on Windows to Docker --- .../io/quarkus/undertow/runtime/KnownPathResourceManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/undertow/runtime/src/main/java/io/quarkus/undertow/runtime/KnownPathResourceManager.java b/extensions/undertow/runtime/src/main/java/io/quarkus/undertow/runtime/KnownPathResourceManager.java index ee6069a65fdab..0e665ab14a577 100644 --- a/extensions/undertow/runtime/src/main/java/io/quarkus/undertow/runtime/KnownPathResourceManager.java +++ b/extensions/undertow/runtime/src/main/java/io/quarkus/undertow/runtime/KnownPathResourceManager.java @@ -86,7 +86,7 @@ private DirectoryResource(String path) { } private String evaluatePath(String path) { - return IS_WINDOWS ? path.replaceAll("\\\\", "/") : path; + return path.replaceAll("\\\\", "/"); } @Override