Struts 2
  1. Struts 2
  2. WW-2043

Disable MultiPart request handling

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0.8
    • Fix Version/s: Future
    • Component/s: XML Configuration
    • Labels:
      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).

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Oguz Kologlu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development