#907: escape branch name
This commit is contained in:
parent
7e165b8ba4
commit
2bcd874169
|
@ -7,4 +7,4 @@
|
|||
%li.text= t('layout.projects.base_branch')
|
||||
- else
|
||||
%li
|
||||
= link_to t('layout.projects.compare'), diff_path(@project, "#{@branch.name}...#{branch.name}")
|
||||
= link_to t('layout.projects.compare'), diff_path(@project, "#{CGI.escape(@branch.name)}...#{CGI.escape(branch.name)}")
|
Loading…
Reference in New Issue