[
https://issues.apache.org/jira/browse/TAPESTRY-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jesse Kuhnert updated TAPESTRY-340:
-----------------------------------
Fix Version/s: (was: 4.1.2)
4.1.3
> url-encoded parameters are not considered in multipart-requests
> ---------------------------------------------------------------
>
> Key: TAPESTRY-340
> URL: https://issues.apache.org/jira/browse/TAPESTRY-340
> Project: Tapestry
> Issue Type: Bug
> Components: Framework
> Affects Versions: 4.0, 3.0.5
> Environment: all
> Reporter: Marcus Schulte
> Priority: Minor
> Fix For: 4.1.3
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]