]> source.dussan.org Git - redmine.git/commitdiff
HTML escape at app/helpers/timelog_helper.rb.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 2 Aug 2011 12:52:36 +0000 (12:52 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 2 Aug 2011 12:52:36 +0000 (12:52 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6356 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/timelog_helper.rb

index d314a96f40f0b6bc099b67586799b378b280c968..df3cf79b94339b3a2a55ead52a8ec2d951aaf3ad 100644 (file)
@@ -129,7 +129,7 @@ module TimelogHelper
     elsif k = @available_criterias[criteria][:klass]
       obj = k.find_by_id(value.to_i)
       if obj.is_a?(Issue)
-        obj.visible? ? "#{obj.tracker} ##{obj.id}: #{obj.subject}" : "##{obj.id}"
+        obj.visible? ? h("#{obj.tracker} ##{obj.id}: #{obj.subject}") : h("##{obj.id}")
       else
         obj
       end