Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-5319

Dam upload fields blocked by mod_security when using the drag&drop option

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • 5.7.4, 6.1.1
    • None
    • 3

    Description

      When then drag and drop functionality a wrong request is sent:

      Content-Type=multipart/form-data
      

      So when mod_security is active the request is blocked and the following error is returned because there is no boundary included in the request, this boundary is expected to be added to a multipart request. (https://www.w3.org/Protocols/rfc1341/7_2_Multipart.html).

      ...ModSecurity: Multipart parsing error (init): Multipart: Boundary not found in C-T. [hostname "magnolia3.portal.at"] [uri ".../.magnolia/admincentral/APP/UPLOAD/0/200/rec-4/394f45b3-3c15-4bfa-956f-08512c65a55d"] [unique_id "XUvDdywTZpuUHMBtIWpOnAAAADo"]
      

      In case of Upload button, the request is sent correctly.

      Should that upload even have the form content type in the first place?

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              miruela Mercedes Iruela
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Task DoD