You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2019/07/10 18:37:31 UTC

[whimsy] branch master updated: enable full mailing list address to be entered

This is an automated email from the ASF dual-hosted git repository.

rubys 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 8734e62  enable full mailing list address to be entered
8734e62 is described below

commit 8734e62313309fa46c160cdb821d4899480eb97a
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Wed Jul 10 14:37:10 2019 -0400

    enable full mailing list address to be entered
---
 tools/moderationhelper.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/moderationhelper.rb b/tools/moderationhelper.rb
index e7b7720..bef62fc 100755
--- a/tools/moderationhelper.rb
+++ b/tools/moderationhelper.rb
@@ -201,7 +201,8 @@ _html do
         _div.well do
           ml0,ml1 = @maillist.split('@')
           if ml1
-            ml1 += '.apache.org'
+            # enable escape for apachecon.com
+            ml1 += '.apache.org' unless m11 =~ /\.(org|com)$/
           else
             ml1 = 'apache.org'
           end