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

Felix Meschberger closed SLING-1167.
------------------------------------


Close after release

> getParameters(String name) internally uses getParameterMap() causing 
> OutOfMemoryError on file upload
> ----------------------------------------------------------------------------------------------------
>
>                 Key: SLING-1167
>                 URL: https://issues.apache.org/jira/browse/SLING-1167
>             Project: Sling
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: Engine 2.0.6
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: Engine 2.1.0
>
>
> The HttpServletRequest.getParameters(String name) internally uses a method 
> which causes all request parameters to be converted to strings before 
> accessing the requested parameter. This may cause an OutOfMemoryError if the 
> request contains (big) uploaded files.
> The fix is that the getParameters method is implemented in terms of accessing 
> the RequestParameterMap and converting the RequestParamer[] to a String[] for 
> the single parameter requested.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to