You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2010/08/25 23:56:17 UTC
[jira] Resolved: (WICKET-1578) MixedParamUrlCodingStrategy makes an
incorrect assumption about RequestParameters.parametersMap of type String
where as its String[] according to Servlet 2.3 and later
[ https://issues.apache.org/jira/browse/WICKET-1578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-1578.
-----------------------------------
Assignee: Igor Vaynberg (was: Johan Compagner)
Resolution: Fixed
shouldve been fixed a while back. if still a problem please attach a quickstart.
> 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: Igor Vaynberg
> 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.