Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-10282

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 5.7.0
    • 4.12.1, 4.13.0, 5.5.0
    • None

    Description

      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

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: