summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-02 13:13:05 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-02 13:13:05 +0000
commit19f62c96a69a459397e625f8e6bfd34b1e299dd9 (patch)
treec989408675b3326209de7187b92f829b602c60e0
parentbd4eb197e1da057da7693186cf51ceed719561b6 (diff)
downloadredmine-19f62c96a69a459397e625f8e6bfd34b1e299dd9.tar.gz
redmine-19f62c96a69a459397e625f8e6bfd34b1e299dd9.zip
HTML escape at app/views/repositories/diff.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6383 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/repositories/diff.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/repositories/diff.rhtml b/app/views/repositories/diff.rhtml
index efb84a44d..cb868665a 100644
--- a/app/views/repositories/diff.rhtml
+++ b/app/views/repositories/diff.rhtml
@@ -16,7 +16,7 @@
<%= f.link_to 'Diff', :url => params, :caption => 'Unified diff' %>
<% end %>
-<% html_title(with_leading_slash(@path), 'Diff') -%>
+<% html_title(h(with_leading_slash(@path)), 'Diff') -%>
<% content_for :header_tags do %>
<%= stylesheet_link_tag "scm" %>