From 437c062a4beed980be67de119323cfb4db9b640e Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 2 Aug 2011 13:23:26 +0000 Subject: [PATCH] HTML escape at app/views/wiki/diff.rhtml. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6397 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/wiki/diff.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/wiki/diff.rhtml b/app/views/wiki/diff.rhtml index 8a000daa9..c77f521c7 100644 --- a/app/views/wiki/diff.rhtml +++ b/app/views/wiki/diff.rhtml @@ -4,7 +4,7 @@ <%= wiki_page_breadcrumb(@page) %> -

<%=h @page.pretty_title %>

+

<%=h h(@page.pretty_title) %>

<%= l(:label_version) %> <%= link_to @diff.content_from.version, :action => 'show', :id => @page.title, :project_id => @page.project, :version => @diff.content_from.version %> -- 2.39.5