From a40002fb11db739501dd6c4bebad930f7bc601c8 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Tue, 16 Aug 2022 15:47:42 -0500 Subject: [PATCH] Revert ServletPathSpecOrderTest --- .../eclipse/jetty/http/pathmap/ServletPathSpecOrderTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jetty-core/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/ServletPathSpecOrderTest.java b/jetty-core/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/ServletPathSpecOrderTest.java index 04c0efdf8fc..2d46fdb377b 100644 --- a/jetty-core/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/ServletPathSpecOrderTest.java +++ b/jetty-core/jetty-http/src/test/java/org/eclipse/jetty/http/pathmap/ServletPathSpecOrderTest.java @@ -52,7 +52,7 @@ public class ServletPathSpecOrderTest data.add(Arguments.of("/animal/arhive.gz", "animals")); data.add(Arguments.of("/Other/path", "default")); // @checkstyle-disable-check : AvoidEscapedUnicodeCharactersCheck - data.add(Arguments.of("/%E2%82%ACuro/path", "money")); + data.add(Arguments.of("/\u20ACuro/path", "money")); // @checkstyle-enable-check : AvoidEscapedUnicodeCharactersCheck data.add(Arguments.of("/", "root")); @@ -81,7 +81,7 @@ public class ServletPathSpecOrderTest mappings.put(new ServletPathSpec("/"), "default"); // 8 // 9 was the old Jetty ":" spec delimited case (no longer valid) mappings.put(new ServletPathSpec(""), "root"); // 10 - mappings.put(new ServletPathSpec("/%E2%82%ACuro/*"), "money"); // 11 + mappings.put(new ServletPathSpec("/\u20ACuro/*"), "money"); // 11 } @ParameterizedTest