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 95dac7e Add missing replacement parameter
95dac7e is described below
commit 95dac7e3b069aae1a274e9d268426879e04aaec3
Author: Sebb <[email protected]>
AuthorDate: Tue Feb 12 16:23:38 2019 +0000
Add missing replacement parameter
(Error found by scanning procmail.log files)
---
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 ff02dd2..f2b8408 100644
--- a/www/secretary/workbench/models/message.rb
+++ b/www/secretary/workbench/models/message.rb
@@ -348,7 +348,7 @@ class Message
begin
from = liberal_email_parser(from_value).display_name
rescue Exception
- from = from_value.sub(/\s+<.*?>$/)
+ from = from_value.sub(/\s+<.*?>$/, '')
end
# determine who should be copied on any responses