Revert ServletPathSpecOrderTest

This commit is contained in:
Joakim Erdfelt 2022-08-16 15:47:42 -05:00
parent db79ca7a1a
commit a40002fb11
No known key found for this signature in database
GPG Key ID: 2D0E1FB8FE4B68B4
1 changed files with 2 additions and 2 deletions

View File

@ -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