tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Schulte (JIRA)" <...@tapestry.apache.org>
Subject [jira] Assigned: (TAPESTRY-340) url-encoded parameters are not considered in multipart-requests
Date Sun, 26 Aug 2007 14:33:30 GMT

     [ https://issues.apache.org/jira/browse/TAPESTRY-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marcus Schulte reassigned TAPESTRY-340:
---------------------------------------

    Assignee: Marcus Schulte

> 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
>            Assignee: 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message