You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by cl...@apache.org on 2017/04/10 19:53:51 UTC
[whimsy] branch master updated: allow mail with naked email address
in From: field
This is an automated email from the ASF dual-hosted git repository.
clr 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 eabda6c allow mail with naked email address in From: field
eabda6c is described below
commit eabda6c3e8d349ef26359a84e1f8e0d7f9ad64c6
Author: Craig L Russell <cr...@oracle.com>
AuthorDate: Mon Apr 10 12:53:43 2017 -0700
allow mail with naked email address in From: field
---
www/secmail/views/forms/icla.js.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/www/secmail/views/forms/icla.js.rb b/www/secmail/views/forms/icla.js.rb
index 02e8294..0b5c79d 100644
--- a/www/secmail/views/forms/icla.js.rb
+++ b/www/secmail/views/forms/icla.js.rb
@@ -84,8 +84,8 @@ class ICLA < React
# on initial display, default various fields based on headers, and update
# state
def componentDidMount()
- name = @@headers.name
-
+ name = @@headers.name || ''
+
# reorder name if there is a single comma present
parts = name.split(',')
if parts.length == 2 and parts[1] !~ /^\s*(jr|ph\.d)\.?$/i
--
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].