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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Done
    • Affects Version/s: 5.6
    • Fix Version/s: 5.6.5
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Basel 136, Basel 137, Basel 138, Basel 139, Basel 141
    • Story Points:
      3
    • Magnolia Release:
      5.6.6

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: