mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-01 03:57:15 +00:00
Removed invalid sanitizer in MailHandler (#19537).
git-svn-id: http://svn.redmine.org/redmine/trunk@14219 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
1860c43d66
commit
0397dcf7fb
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user