Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7336

Content-Disposition missing "attachment" when exporting JCR content

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 5.6.5
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None
    • Environment:
      Tested on
      * Safari (Mac)
      * Chrome (Mac + Linux)
      * Firefox (Mac)

      Description

      When exporting content as XML from Magnolia (JCR export) the content used to be downloaded into an XML file. Since Magnolia 5.6.? however, the browser is displaying the XML which is unexpected in its best case.

      The problem originates in a missing "attachment" parameter in the Content-Disposition header.

      Magnolia 5.4.6:

      Magnolia 5.6.5:

      As you can see, in Magnolia 5.6.5, the "attachment" parameter in the Content-Disposition header is missing.

      Steps to reproduce

      • Go to https://demoauthor.magnolia-cms.com
      • Open the pages app
      • Select a page
      • Choose "Export"
      • Select "XML" as format
      • => expected result: page is downloaded as XML file
      • => experienced result: page is displayed in the browser

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              will Will Scheidegger
              Votes:
              6 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: