From 19f62c96a69a459397e625f8e6bfd34b1e299dd9 2011-08-02 13:13:05 From: Toshi MARUYAMA Date: 2011-08-02 13:13:05 Subject: [PATCH] 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 --- diff --git a/app/views/repositories/diff.rhtml b/app/views/repositories/diff.rhtml index efb84a4..cb86866 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" %>