Uploaded image for project: 'Magnolia DAM Module'
  1. Magnolia DAM Module
  2. MGNLDAM-834

Server Error on asset download with content disposition header conaining special characters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an issue
    • Major
    • None
    • 2.4.1
    • DAM App
    • JBoss EAP 7.2

    Description

      If I have an asset with a file name that contains special characters like ยด the download of this asset fails and a server error is shown.

      This issue happens only with JBoss application server. On tomcat server everything is fine.

      The solution is to use an url encoded file name instead to use the file name directly from the asset.

      res.setHeader(CONTENT_DISPOSITION, "attachment; filename=\"" + asset.getFileName() + "\"");
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                frank.sommer Frank Sommer
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD