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

app/views/repositories/revision.rhtml

index b7383b36d1f135bd66968f6a65908efa92c0e95e..85b11d44129f2d823f02472e760b3940fa834f64 100644 (file)
@@ -25,7 +25,7 @@
 
 <h2><%= l(:label_revision) %> <%= format_revision(@changeset) %></h2>
 
-<p><% if @changeset.scmid %>ID: <%= @changeset.scmid %><br /><% end %>
+<p><% if @changeset.scmid %>ID: <%= h(@changeset.scmid) %><br /><% end %>
 <span class="author"><%= authoring(@changeset.committed_on, @changeset.author) %></span></p>
 
 <%= textilizable @changeset.comments %>