Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-15930

Can't create pull request with angle brackets in branch name

    XMLWordPrintable

Details

    Description

      Hi, I'm not sure if this is an actual bug or not but here are the details of the use case:

      I have two identical branches (same commits, same head):

      first: bugfix/Task_name-<taskid>

      second: bugfix/Task_name-taskid

      **notice the angle brackets in the name of the first one.
      **

      When trying to create a PR from the first one to another branch (master in this case), I see a loading spinner at the bottom (diff/commits table) that keeps looping and the background entries for commits are greyed out. See screenshot:

      I also see that there is a js type error Uncaught TypeError: t.createDocumentFragment is not a function that's not present when other branches are selected on the create PR page. There's also a screenshot of that below.

      When trying to create a PR from the second one, there are no problems whatsoever.

      I've tried normal things like hard refreshes, recreating the branch and trying again, forking the same branch with different names, etc.

      Web browser used: Google Chrome
      Version 65.0.3325.181 (Official Build) (64-bit)

      Os used: macOS High Sierra Version 10.13.3

      I'm not looking for a solution or a workaround since I can just rename my branch and continue working, but I just thought this bug was worth mentioning here.

      Attachments

        Activity

          People

            Unassigned Unassigned
            f248d118f3e7 Danail Tavchioski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: