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

Content-Disposition missing "attachment" when exporting JCR content

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 5.6.5
    • core
    • None
    • 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

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD