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

Remove setting content-deposition manually to properly encode special characters in filename

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Neutral
    • 5.6.5
    • 5.6
    • None
    • None
    • Basel 136, Basel 137, Basel 138, Basel 139, Basel 141
    • 3

    Description

      When uploading a file that contains special characters like Chinese ones in its name to DAM then when downloading or selecting the file, it's name is resolved as empty or ---- because we are manually setting the content-deposition without the proper encoding. Vaadin has default behavior to properly encode the filename in the content-deposition header. If we remove our setting of this header it should work as expected. This is also the case for exporting the files and needs to be fixed.

      For example: uploading 啊啊.pdf file, we would get --.pdf

      See linked ticket for more details.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                lstaniorski Leah Staniorski
                jayala Jonathan Ayala
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD