You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org> on 2006/12/16 19:23:22 UTC
[jira] Updated: (TAPESTRY-340) url-encoded parameters are not
considered in multipart-requests
[ http://issues.apache.org/jira/browse/TAPESTRY-340?page=all ]
Jesse Kuhnert updated TAPESTRY-340:
-----------------------------------
Fix Version/s: 4.1.2
(was: 4.1.1)
> url-encoded parameters are not considered in multipart-requests
> ---------------------------------------------------------------
>
> Key: TAPESTRY-340
> URL: http://issues.apache.org/jira/browse/TAPESTRY-340
> Project: Tapestry
> Issue Type: Bug
> Components: Framework
> Affects Versions: 3.0.5, 4.0
> Environment: all
> Reporter: Marcus Schulte
> Priority: Minor
> Fix For: 4.1.2
>
>
> Problem-setup:
> a component uses URL-encoded parameters inside a form leading to a multipart/mime-encoded request.
> Problem: all these parameters will be ignored (they're expected as parts of the multipart-request).
> Proposed fix:
> In the class org.apache.tapestry.request.RequestContext, replace the method getParameter()
> with the following;
> _________________________________
> public String getParameter(String name)
> {
> String result = _request.getParameter(name);
>
> if ( result != null )
> return result;
> IMultipartDecoder decoder = getDecoder();
> if (decoder != null)
> return decoder.getString(_request, name);
> return null;
> }
> ________________________________________
> Apply analogous patch to the method getParameters(String) in the same class.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org