Multi-byte branch name gets garbled when downloading an archive

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Summary

      Multi-byte branch name is not properly generated when downloading the branch as an archive.

      Environment

      • Bitbucket Server 5.7.1

      Steps to Reproduce

      1. Commit and push the branch whose name contains multi-byte characters (example.zip)
      2. Open the branch on Bitbucket Server UI
      3. Click "..." > "Download"
      4. Verify the downloaded file

      Expected Results

      The downloaded filename should keep its original name example-feature-ja_あいうえお@03d2f9dbe49.

      Actual Results

      The filename corrupts like example-feature-ja______@03d2f9dbe49.
      The multi-byte part is replaced with underscores.

      Workaround

      • Use ASCII for branch name

        1. example.zip
          24 kB
          K. Yamamoto
        2. Screenshot 2018-03-02 12.05.10.png
          448 kB
          K. Yamamoto

              Assignee:
              Ben Humphreys
              Reporter:
              K. Yamamoto (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: