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

Bitbucket GUI and git do not handle quotation marks in branch names correctly

    XMLWordPrintable

Details

    Description

      When quotation marks are used within a branch name the branches page of the repository, within Bitbucket Server, does not allow interaction with that branch.

      I have also seen that same branch cause a failure on a git fetch command called through git 2.7.2. See below.

      > git fetch UX
      error: cannot lock ref 'refs/remotes/UX/bugfix/MCR#199867-AddAutoComplete="off"ToRegAndSignInForm': Unable to create 'C:/Users/projects/ecom/.git/refs/remotes/UX/bugfix/MCR#199867-AddAutoComplete="off"ToRegAndSignInForm.lock': Invalid argument
      From ssh://git.website.net:7999/ecomux/website
      ! [new branch] bugfix/MCR#199867-AddAutoComplete="off"ToRegAndSignInForm -> UX/bugfix/MCR#199867-AddAutoComplete="off"ToRegAndSignInForm (unable to update local ref)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              c7bf5b58f5d3 Jason Reynolds
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: