From 89aa60cbbd2c72cfa955865494d5cb7998b8dcd2 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 27 Mar 2010 12:46:45 +0000 Subject: [PATCH] Escape revision on repository view (#5153). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3613 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/repositories/_breadcrumbs.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/repositories/_breadcrumbs.rhtml b/app/views/repositories/_breadcrumbs.rhtml index 42d11e1a4..bab0ff338 100644 --- a/app/views/repositories/_breadcrumbs.rhtml +++ b/app/views/repositories/_breadcrumbs.rhtml @@ -16,6 +16,6 @@ dirs.each do |dir| / <%= link_to h(filename), :action => 'changes', :id => @project, :path => to_path_param("#{link_path}/#{filename}"), :rev => @rev %> <% end %> -<%= "@ #{revision}" if revision %> +<%= "@ #{h revision}" if revision %> <% html_title(with_leading_slash(path)) -%>