MixedParamUrlCodingStrategy makes an incorrect assumption about RequestParameters.parametersMap of type String where as its String[] according to Servlet 2.3 and later -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: WICKET-1578 URL: https://issues.apache.org/jira/browse/WICKET-1578 Project: Wicket Issue Type: Bug Components: wicket Affects Versions: 1.3.3 Environment: Windows Reporter: Ritesh Trivedi MixedParamUrlCodingStrategy makes an incorrect assumption about RequestParameters.parametersMap of type String where as its String[] according to Servlet 2.3 and later Look at MixedParamUrlCodingStrategy.appendParameters (line 153) its type casting to (String) which throws ClassCastException at runtime since its of type String[]. Same issue for decodeParameters. I actually have question about multivalued parameters. Will any of the URL schemes handle these correctly? if yes - is there an example that shows how? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.