Defect #8758 ยป 0001-Fixed-setting-issue-attributes-by-mail-use-only-the-.patch
| app/models/mail_handler.rb | ||
|---|---|---|
|
keys.reject! {|k| k.blank?}
|
||
|
keys.collect! {|k| Regexp.escape(k)}
|
||
|
format ||= '.+'
|
||
|
text.gsub!(/^(#{keys.join('|')})[ \t]*:[ \t]*(#{format})\s*$/i, '')
|
||
|
text.sub!(/^(#{keys.join('|')})[ \t]*:[ \t]*(#{format})\s*$/i, '')
|
||
|
$2 && $2.strip
|
||
|
end
|
||