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