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 2011/02/10 08:59:57 UTC
[jira] Resolved: (WICKET-3405) POST fails if request.getParameter
called by ServletFilter
[ https://issues.apache.org/jira/browse/WICKET-3405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-3405.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.5-RC2
Assignee: Igor Vaynberg
we will now catch Exception instead
> POST fails if request.getParameter called by ServletFilter
> ----------------------------------------------------------
>
> Key: WICKET-3405
> URL: https://issues.apache.org/jira/browse/WICKET-3405
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5-RC1
> Environment: linux
> jdk 1.6.0_11
> jetty 7.2.2.v20101205
> Reporter: Mike Bartlett
> Assignee: Igor Vaynberg
> Fix For: 1.5-RC2
>
>
> 1.5-RC1 implementation of the ServletWebRequest generatePostParameters method that calls request.getReader().
> The result is that the POST fails in both jetty and Tomcat.
> The ServletWebRequest.generatePostParameters method implementation attempts to handle this situation with a try catch that catchs IOException. If an IOException is thrown with the request.getReader() call then it uses request.getParameter() to get the POST parameters. However, in both jetty and tomcat 6, it is not an IOException that is thrown but an IllegalStateException.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira