This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 10.1.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push: new a7340eed79 Fix back-port a7340eed79 is described below commit a7340eed792419cf168f1e4e6dcae07d7a0f2cfd Author: Mark Thomas <ma...@apache.org> AuthorDate: Thu Jan 23 12:14:07 2025 +0000 Fix back-port --- .../catalina/core/TestApplicationContextGetRequestDispatcherC.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/org/apache/catalina/core/TestApplicationContextGetRequestDispatcherC.java b/test/org/apache/catalina/core/TestApplicationContextGetRequestDispatcherC.java index ff5fd02d21..f41dff4c8e 100644 --- a/test/org/apache/catalina/core/TestApplicationContextGetRequestDispatcherC.java +++ b/test/org/apache/catalina/core/TestApplicationContextGetRequestDispatcherC.java @@ -17,7 +17,6 @@ package org.apache.catalina.core; import java.io.IOException; -import java.nio.charset.StandardCharsets; import java.util.Arrays; import java.util.Collection; @@ -154,7 +153,7 @@ public class TestApplicationContextGetRequestDispatcherC extends TomcatBaseTest @Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { resp.setContentType("text/plain"); - resp.setCharacterEncoding(StandardCharsets.UTF_8); + resp.setCharacterEncoding("UTF-8"); resp.getWriter().print(req.getPathInfo()); } } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org