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 2021/02/08 23:53:24 UTC
[whimsy] branch master updated: Delimit email address in case of
invisible chars
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 b3b03c4 Delimit email address in case of invisible chars
b3b03c4 is described below
commit b3b03c40f0ff78a4f0ed367cef5a8dbcb613a8ca
Author: Sebb <se...@apache.org>
AuthorDate: Mon Feb 8 23:53:14 2021 +0000
Delimit email address in case of invisible chars
---
www/secretary/workbench/views/actions/icla.json.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/secretary/workbench/views/actions/icla.json.rb b/www/secretary/workbench/views/actions/icla.json.rb
index 9f626cb..efc6670 100644
--- a/www/secretary/workbench/views/actions/icla.json.rb
+++ b/www/secretary/workbench/views/actions/icla.json.rb
@@ -10,7 +10,7 @@
# extract message
message = Mailbox.find(@message)
-_warn "Invalid From address #{@from}" unless @from =~ /\A("?[\s\w]+"?\s+<)?\w+@apache\.org>?\z/
+_warn "Invalid From address '#{@from}'" unless @from =~ /\A("?[\s\w]+"?\s+<)?\w+@apache\.org>?\z/
# extract file extension
fileext = File.extname(@selected).downcase