From 2b86ef8e28d0e5376197391c29a8fb302f14820f Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 17 Dec 2006 08:10:18 +0000 Subject: various modifications to prevent xss - validation of names and labels against /^[\w\s\'\-]*$/i - html entities encoding git-svn-id: http://redmine.rubyforge.org/svn/trunk@99 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/projects/export_issues_pdf.rfpdf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/views/projects/export_issues_pdf.rfpdf') diff --git a/app/views/projects/export_issues_pdf.rfpdf b/app/views/projects/export_issues_pdf.rfpdf index 2e0acf54b..09592d391 100644 --- a/app/views/projects/export_issues_pdf.rfpdf +++ b/app/views/projects/export_issues_pdf.rfpdf @@ -1,10 +1,9 @@ <% pdf=IfpdfHelper::IFPDF.new pdf.AliasNbPages pdf.footer_date = format_date(Date.today) - pdf.AddPage @issues.each {|i| - render :partial => 'issues/pdf', :locals => { :pdf => pdf, :issue => i } pdf.AddPage + render :partial => 'issues/pdf', :locals => { :pdf => pdf, :issue => i } } %> -- cgit v1.2.3