This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push: new 63d1487e36 Fix back-port 63d1487e36 is described below commit 63d1487e36d73bf0c326a3b3406df59a908297f1 Author: Mark Thomas <ma...@apache.org> AuthorDate: Mon Mar 31 17:32:56 2025 +0100 Fix back-port --- test/org/apache/catalina/valves/rewrite/TestRewriteValve.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/org/apache/catalina/valves/rewrite/TestRewriteValve.java b/test/org/apache/catalina/valves/rewrite/TestRewriteValve.java index 5c737ae1a5..458349ce76 100644 --- a/test/org/apache/catalina/valves/rewrite/TestRewriteValve.java +++ b/test/org/apache/catalina/valves/rewrite/TestRewriteValve.java @@ -1011,7 +1011,7 @@ public class TestRewriteValve extends TomcatBaseTest { String body = res.toString(); Assert.assertTrue(body, body.contains("REQUEST-URI: /target/" + expectedSegment)); Assert.assertTrue(body, body.contains("PATH-INFO: /" + - URLDecoder.decode(expectedSegment, StandardCharsets.UTF_8))); + URLDecoder.decode(expectedSegment, "UTF-8"))); Assert.assertTrue(body, body.contains("REQUEST-QUERY-STRING: " + expectedQueryString)); } } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org