Non latin character attachment names get corrupted when downloaded as "download all", on Linux

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 7.4.1, 7.8.1
    • Component/s: Content - Attachments
    • None
    • 2
    • Severity 3 - Minor

      Problem

      If a Confluence page has file attachments with Chinese characters in filenames and you click on them one-by-one, they get downloaded to the local disk and the Chinese filenames are preserved. However, if you click on "download all", the file names of the downloaded files are corrupted on the local disk. Please see the screenshots attached. I was able to replicate this problem on Linux using Firefox as a browser.

      Environment

      Operating System: CentOS 8
      Versions: Issue reproduced with out-of-the-box Confluence version 7.4.0 and version 7.8.1
      Web Browser: Firefox

      Steps to Reproduce

      • Install Confluence on a CentOS 8 Desktop distribution
      • Create a new page and attach the 4 Word documents attached to this bug report as a test
      • Use the download all feature to download all the attachments

      Expected Results

      • the original attachments filenames should be preserved

      Actual Results

      • the attachments filenames are garbled (screenshot attached)

      Workaround

      • download the file one by one and the filename will be preserved (screenshot attached)

      Notes

      Related to https://jira.atlassian.com/browse/CONFSERVER-6399
      However, we wanted to give more visibility on the Linux part and issue reproduced in Confluence latest version

        1. 文件测试-2.docx
          12 kB
        2. 文件测试-3.docx
          12 kB
        3. 文件测试-1.docx
          12 kB
        4. 文件测试-4.docx
          12 kB
        5. DownloadAll-Filenames.png
          DownloadAll-Filenames.png
          19 kB
        6. IndividualDownloads-Filenames.png
          IndividualDownloads-Filenames.png
          12 kB

            Assignee:
            Unassigned
            Reporter:
            Pascal Oberle
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: