Skip to content

When the branch name is a divider or separator, the project home page cannot display the branch name correctly.

Summary

When the branch name is a divider or separator, the project home page cannot display the branch name correctly.

Screenshots

POC:

image

Branchs:

image

Example Project

https://gitlab.com/dds.feng/aaaa

https://gitlab.com/dds.feng/aaaa/branches

Possible root cause

https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/assets/javascripts/gl_dropdown.js#L718-721

Edited by Dennis Tang