Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-2043

Disable MultiPart request handling

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • 2.0.8
    • None
    • XML Configuration
    • None

    Description

      Dispatcher will instantiate a MultiPartRequest class instance process the file upload regardless of whether it is wanted or not. A global setting to disable processing multipart requests should be available to stop unwanted file interception.

      This is especially important for mixed environments eg S1/S2 where S1 is expecting to handle the file upload.

      (Workaround for this is to implement your own MultiPartRequest class and do nothing with the upload stream).

      Attachments

        Activity

          People

            Unassigned Unassigned
            oguz Oguz Kologlu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: