Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
1.2.2
-
None
Description
This method explicitly checks for method POST. I believe the PUT method can also have multipart requests, and there may be others. In our case we are receiving rest calls using Spring Framework's CommonsMultipartResolver which in turn uses this method of the Commons FileUpload library.
Here is the offending code...
if (!"post".equals(request.getMethod().toLowerCase())) {
return false;
}