whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: enable full mailing list address to be entered
Date Wed, 10 Jul 2019 18:37:31 GMT
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 <rubys@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


Mime
View raw message