From: Toshi MARUYAMA Date: Tue, 2 Aug 2011 13:13:05 +0000 (+0000) Subject: HTML escape at app/views/repositories/diff.rhtml. X-Git-Tag: 1.3.0~1560 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=19f62c96a69a459397e625f8e6bfd34b1e299dd9;p=redmine.git 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 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" %>