#907: escape branch name

This commit is contained in:
Vokhmin Alexey V 2013-02-13 23:12:07 +04:00
parent 7e165b8ba4
commit 2bcd874169
1 changed files with 1 additions and 1 deletions

View File

@ -7,4 +7,4 @@
%li.text= t('layout.projects.base_branch') %li.text= t('layout.projects.base_branch')
- else - else
%li %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)}")