From eb9689d386d5650062f6830142156719a3493ac7 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 2 Aug 2011 13:03:51 +0000 Subject: [PATCH] HTML escape at app/views/issues/_list_simple.rhtml. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6370 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/_list_simple.rhtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/issues/_list_simple.rhtml b/app/views/issues/_list_simple.rhtml index dd7f48946..1fcb07aee 100644 --- a/app/views/issues/_list_simple.rhtml +++ b/app/views/issues/_list_simple.rhtml @@ -9,10 +9,10 @@ <% for issue in issues %> - + <%= check_box_tag("ids[]", issue.id, false, :style => 'display:none;') %> - <%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %> + <%= link_to(h(issue.id), :controller => 'issues', :action => 'show', :id => issue) %> <%= link_to_project(issue.project) %> <%=h issue.tracker %> -- 2.39.5