From 9833be037461cc1a703e9b32c871b91e0e57d915 Mon Sep 17 00:00:00 2001 From: Greg Wilkins Date: Thu, 11 Aug 2022 13:32:01 +1000 Subject: [PATCH] WIP #8441 isNotNormalWithinSelf oops --- .../src/main/java/org/eclipse/jetty/util/URIUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-core/jetty-util/src/main/java/org/eclipse/jetty/util/URIUtil.java b/jetty-core/jetty-util/src/main/java/org/eclipse/jetty/util/URIUtil.java index 08ec94da2bf..cdc3f9ccecc 100644 --- a/jetty-core/jetty-util/src/main/java/org/eclipse/jetty/util/URIUtil.java +++ b/jetty-core/jetty-util/src/main/java/org/eclipse/jetty/util/URIUtil.java @@ -1214,7 +1214,7 @@ public final class URIUtil public static boolean isNotNormalWithinSelf(String path) { // TODO this can be optimized to avoid allocation. - return normalizePath(path) != null; + return normalizePath(path) == null; } /**