Filenames with " and " cause 404 error when clicked the download link in commits page

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 5.7.0
    • Affects Version/s: 4.12.1, 4.13.0, 5.5.0
    • None
    • 2
    • Severity 2 - Major
    • 3

      Summary

      Filenames with " and " cause 404 error for the download link in commits page of binary file that can't be rendered

      Steps to Reproduce

      1. Push a binary file that can’t be rendered with “ and ” in filename to Bitbucket
        e.g my failed and broken file.qvw
        my failed and broken file.docx
      2. go to a specific commit of that file in the UI
      3. Click on the two "Download file" links generated

      Expected Results

      Download starts

      Actual results

      No exception is thrown in the atlassian-bitbucket.log file:
      Download fails with 404 error

      • Download links
      • Error

      Workaround

      Rename the file

        1. Screen Shot 3.png
          139 kB
          Prasanth
        2. Screen Shot 2.png
          133 kB
          Prasanth
        3. Screen Shot 1.png
          124 kB
          Prasanth

              Assignee:
              Hendrik (Inactive)
              Reporter:
              Prasanth
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: