Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Engine 2.0.6
-
None
Description
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.