This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 59b5d37 Actually apply the change to the headers var
59b5d37 is described below
commit 59b5d370c0ca57f8edea42f8a34134ec9eb9b2ac
Author: Sebb <[email protected]>
AuthorDate: Thu May 3 14:49:28 2018 +0100
Actually apply the change to the headers var
---
www/secretary/workbench/models/message.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/secretary/workbench/models/message.rb
b/www/secretary/workbench/models/message.rb
index 5980fe5..695f4d7 100644
--- a/www/secretary/workbench/models/message.rb
+++ b/www/secretary/workbench/models/message.rb
@@ -321,7 +321,7 @@ class Message
headers = message[/(.*?)\r?\n\r?\n/m, 1]
if headers.include? "\n" and not headers.include? "\r\n"
headers, body = message.split(/\r?\n\r?\n/, 2)
- headers.gsub("\n", "\r\n")
+ headers.gsub!("\n", "\r\n")
message = "#{headers}\r\n\r\n#{body}"
end
--
To stop receiving notification emails like this one, please contact
[email protected].