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

Files with percent '%' signs on their names causes error 500 when trying to view it on Bitbucket

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 5.4.0, 4.14.10, 5.0.8, 5.1.6, 5.2.4, 5.3.2
    • 4.12.0, 4.13.0, 4.14.0, 4.14.3, 5.0.2, 5.1.2
    • None
    • None

      Summary

      User is seeing an error 500 page when trying to view a source file, if the particular file contains "%" character/s

      Steps to Reproduce

      1. Create a file with name %test%.txt.
      2. Made a few changes to the file and commit the file into a Bitbucket repo
      3. Click on the file from Source view to view its content

      Expected Results

      The content of the file should be displayed

      Actual Results.

      Clicking on the file to view its content will cause an error 500 page instead

      Workaround

      Rename the affected file to not contain any '%' characters on its file name

            [BSERV-9612] Files with percent '%' signs on their names causes error 500 when trying to view it on Bitbucket

            Owen made changes -
            Workflow Original: Stash Workflow - Restricted [ 1765038 ] New: JAC Bug Workflow v3 [ 3136804 ]
            Owen made changes -
            Symptom Severity Original: Minor [ 14432 ] New: Severity 3 - Minor [ 15832 ]
            Frank Doherty made changes -
            Link New: This issue relates to BSERV-10309 [ BSERV-10309 ]
            Brent P made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 310992 ]
            Frank Doherty made changes -
            Link New: This issue is related to BSERVDEV-16048 [ BSERVDEV-16048 ]
            Frank Doherty made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Closed [ 6 ]
            Frank Doherty made changes -
            Remote Link New: This issue links to "Bitbucket Server › Pull Request Build › BSERV-9612-fix-merge-conflict (server-syd-bamboo)" [ 317491 ]
            Frank Doherty made changes -
            Remote Link New: This issue links to "Bitbucket Server › Pull Request Build with Coverage › BSERV-9612-fix-merge-conflict (server-syd-bamboo)" [ 317490 ]
            Frank Doherty made changes -
            Link New: This issue blocks BSERVDEV-16043 [ BSERVDEV-16043 ]
            Frank Doherty made changes -
            Remote Link New: This issue links to "Bitbucket Server › 4.14.X › bugfix-BSERV-9612-add-back-rest-api-to-rewrite-rule (server-syd-bamboo)" [ 317477 ]

              fdoherty@atlassian.com Frank Doherty
              vchoo Vivian C
              Affected customers:
              12 This affects my team
              Watchers:
              21 Start watching this issue

                Created:
                Updated:
                Resolved: