Gitlab Omnibus 10.8.1 (21a8d61d) - Can't create Merge Request if there is # in the branch name.
Summary
Can't create Merge Request if there is # in the branch name.
Steps to reproduce
- Create branch with #
- try to create MR with this branch
-
#
will change to%23
and error throws: "Source branch name_with_# does not exist"
Example Project
(If possible, please create an example project here on GitLab.com that exhibits the problematic behaviour, and link to it here in the bug report)
reproduces on gitlab.com too - https://gitlab.com/mrPsycho/test/merge_requests/new?utf8=%E2%9C%93&merge_request%5Bsource_project_id%5D=6525920&merge_request%5Bsource_branch%5D=%252334235_fix_readme&merge_request%5Btarget_project_id%5D=6525920&merge_request%5Btarget_branch%5D=master
What is the current bug behavior?
#
changes to %23
What is the expected correct behavior?
MR creates succesfully
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Edited by Yaroslav Nakonechnikov