]> source.dussan.org Git - redmine.git/commitdiff
HTML escape at app/views/repositories/_dir_list_content.rhtml.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 2 Aug 2011 12:46:31 +0000 (12:46 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 2 Aug 2011 12:46:31 +0000 (12:46 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6349 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/repositories/_dir_list_content.rhtml

index be7e48a34a8db58d2b84c8d19a1d4b99e5ecbf45..94f1b36bf1db3c2cdb5f0b1d710b567b5dba506f 100644 (file)
@@ -23,7 +23,7 @@
 <% if @repository.report_last_commit %>
 <td class="revision"><%= link_to_revision(changeset, @project) if changeset %></td>
 <td class="age"><%= distance_of_time_in_words(entry.lastrev.time, Time.now) if entry.lastrev && entry.lastrev.time %></td>
-<td class="author"><%= changeset.nil? ? h(Redmine::CodesetUtil.replace_invalid_utf8(entry.lastrev.author.to_s.split('<').first)) : changeset.author if entry.lastrev %></td>
+<td class="author"><%= changeset.nil? ? h(Redmine::CodesetUtil.replace_invalid_utf8(entry.lastrev.author.to_s.split('<').first)) : h(changeset.author) if entry.lastrev %></td>
 <td class="comments"><%=h truncate(changeset.comments, :length => 50) unless changeset.nil? %></td>
 <% end %>
 </tr>