Commit 4165e3c6 authored by jplang's avatar jplang

Removed invalid sanitizer in MailHandler (#19537).

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 9a75625f
......@@ -444,10 +444,6 @@ class MailHandler < ActionMailer::Base
def self.full_sanitizer
@full_sanitizer ||=
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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment