[ https://issues.apache.org/jira/browse/WICKET-1578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595833#action_12595833 ]
Johan Compagner commented on WICKET-1578: ----------------------------------------- Didnt we just fix this? we have now this code: String value = param instanceof String[] ? ((String[])param)[0] : (String)param; > 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 > Assignee: Matej Knopp > > 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.