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 d3590fcb3c Fix back port d3590fcb3c is described below commit d3590fcb3caea891fa859f8e90f9b48f61e000b9 Author: Mark Thomas <ma...@apache.org> AuthorDate: Fri Jan 31 14:29:17 2025 +0000 Fix back port --- java/org/apache/catalina/core/ApplicationHttpRequest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/org/apache/catalina/core/ApplicationHttpRequest.java b/java/org/apache/catalina/core/ApplicationHttpRequest.java index af3eea1fb4..fdc1dcc73f 100644 --- a/java/org/apache/catalina/core/ApplicationHttpRequest.java +++ b/java/org/apache/catalina/core/ApplicationHttpRequest.java @@ -733,7 +733,7 @@ class ApplicationHttpRequest extends HttpServletRequestWrapper { } Map<String,String[]> requestParameters = getRequest().getParameterMap(); - if (requestParameters instanceof ParameterMap<String,String[]>) { + if (requestParameters instanceof ParameterMap<?,?>) { parameters = new ParameterMap<>((ParameterMap<String,String[]>) requestParameters); } else { parameters = new ParameterMap<>(requestParameters); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org