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

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD