[ https://issues.apache.org/jira/browse/WICKET-1578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Csongor Somogyi updated WICKET-1578: ------------------------------------ Attachment: MixedParamUrlCodingStrategy.java.diff I think this bug has duplicates. Pls check it by searching for MixedParamUrlCodingStrategy among the issues. In this patch I propose another solution to this issue in which the String[] parameter is encoded into multiple param=value pairs as the Servlet API assumes that a query string parameter can have multiple values as well. > 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 > Attachments: MixedParamUrlCodingStrategy.java.diff > > > 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.