You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2019/02/11 22:23:32 UTC
[whimsy] branch master updated: Since we store unprocessed mail,
also need to fix CRLF here
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 13e1f2b Since we store unprocessed mail, also need to fix CRLF here
13e1f2b is described below
commit 13e1f2b0dd5794acde15c64a9f2c005b4305e7b4
Author: Sebb <se...@apache.org>
AuthorDate: Mon Feb 11 22:23:25 2019 +0000
Since we store unprocessed mail, also need to fix CRLF here
---
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 fb19bbb..02b6598 100644
--- a/www/secretary/workbench/models/message.rb
+++ b/www/secretary/workbench/models/message.rb
@@ -51,7 +51,7 @@ class Message
#
def mail
- @mail ||= Mail.new(@email)
+ @mail ||= Mail.new(@email.gsub(LF_ONLY, CRLF))
end
def raw