Uploaded image for project: 'Commons FileUpload'
  1. Commons FileUpload
  2. FILEUPLOAD-214

ServletFileUpload only accepts POST requests

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.2.2
    • Fix Version/s: 1.3
    • Labels:
      None
    • Environment:

      Spring 3.x

      Description

      ServletFileUpload is hard coded to only accept POST requests. See implementation of isMultipartContent. Since PUT (and other) requests might also be used to upload files in REST apis, this restriction should be removed.

        Attachments

          Activity

            People

            • Assignee:
              simone.tripodi Simone Tripodi
              Reporter:
              mruno Matthew Runo

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment