diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/mail_handler/rdm-mailhandler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/mail_handler/rdm-mailhandler.rb b/extra/mail_handler/rdm-mailhandler.rb index 51a0a5afb..b7284841d 100644 --- a/extra/mail_handler/rdm-mailhandler.rb +++ b/extra/mail_handler/rdm-mailhandler.rb @@ -153,7 +153,7 @@ END_DESC headers = { 'User-Agent' => "Redmine mail handler/#{VERSION}" } - data = { 'key' => key, 'email' => email, + data = { 'key' => key, 'email' => email.gsub(/(?<!\r)\n|\r(?!\n)/, "\r\n"), 'allow_override' => allow_override, 'unknown_user' => unknown_user, 'default_group' => default_group, |