commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Tompkins (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (FILEUPLOAD-197) ServletFileUpload isMultipartContent method does not support HTTP PUT
Date Tue, 06 Jun 2017 04:25:18 GMT

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

Rob Tompkins closed FILEUPLOAD-197.
-----------------------------------

not a problem.

> ServletFileUpload isMultipartContent method does not support HTTP PUT
> ---------------------------------------------------------------------
>
>                 Key: FILEUPLOAD-197
>                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-197
>             Project: Commons FileUpload
>          Issue Type: Bug
>    Affects Versions: 1.2.2
>            Reporter: David Wolverton
>            Assignee: Simone Tripodi
>             Fix For: 1.3
>
>
> 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;
> }



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message