]> source.dussan.org Git - redmine.git/commitdiff
Removed invalid sanitizer in MailHandler (#19537).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 25 Apr 2015 08:26:27 +0000 (08:26 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 25 Apr 2015 08:26:27 +0000 (08:26 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@14219 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/mail_handler.rb

index 88a2e6dbc4ca1f1b8873c91d7773d6fc743c55cf..d4e57c79d36a774f9a076ea66ca86dd17704ed08 100644 (file)
@@ -444,10 +444,6 @@ class MailHandler < ActionMailer::Base
     subject.strip[0,255]
   end
 
-  def self.full_sanitizer
-    @full_sanitizer ||= HTML::FullSanitizer.new
-  end
-
   def self.assign_string_attribute_with_limit(object, attribute, value, limit=nil)
     limit ||= object.class.columns_hash[attribute.to_s].limit || 255
     value = value.to_s.slice(0, limit)