diff options
author | Go MAEDA <maeda@farend.jp> | 2019-06-20 06:57:45 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-06-20 06:57:45 +0000 |
commit | db3ee07a5530b69624d5a8d517c9301cc835edda (patch) | |
tree | db226fe45d78030577230d72841b6ac3b3037e5e /config/initializers | |
parent | c0a638721cc00418627ed58b0f151fc777d4f50b (diff) | |
download | redmine-db3ee07a5530b69624d5a8d517c9301cc835edda.tar.gz redmine-db3ee07a5530b69624d5a8d517c9301cc835edda.zip |
Reverts r18245 (#31582, #31365).
Issue subjets are truncated in some cases when they are created via email.
git-svn-id: http://svn.redmine.org/redmine/trunk@18269 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/10-patches.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/config/initializers/10-patches.rb b/config/initializers/10-patches.rb index 06edc943a..e0559903b 100644 --- a/config/initializers/10-patches.rb +++ b/config/initializers/10-patches.rb @@ -107,20 +107,6 @@ end require 'mail' -module Mail - class SubjectField - # Fixed that the issue subject may be broken if the subject field in the - # receiving email is split into multiple lines - def initialize(value = nil, charset = 'utf-8') - if mime_encode = /^(=\?\S+\?\S\?)/.match(value).to_a[1] - value.gsub!(/\?=\s+#{Regexp.escape(mime_encode)}/, '') - end - self.charset = charset - super(CAPITALIZED_FIELD, value, charset) - end - end -end - module DeliveryMethods class TmpFile def initialize(*args); end |