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

Issue #15930 wontfix
Danail Tavchioski
created an issue

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: Screen Shot 2018-03-28 at 19.12.44.png 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. Screen Shot 2018-03-28 at 19.16.23.png

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.