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 a5fbedaa Allow for conversion of ': '
a5fbedaa is described below

commit a5fbedaafc4ee5eeb543d7a428b73d98d8c04816
Author: Sebb <[email protected]>
AuthorDate: Sun Mar 17 11:50:04 2024 +0000

    Allow for conversion of ': '
---
 www/members/invitations.cgi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/www/members/invitations.cgi b/www/members/invitations.cgi
index 50acc9cf..50027712 100755
--- a/www/members/invitations.cgi
+++ b/www/members/invitations.cgi
@@ -57,7 +57,9 @@ def setup_data
       # This may not find all the invites ...
       # Note: occasionally someone will forget to copy members@, in which case 
the email
       # may be sent as a reply
-      if v[:Subject] =~ /^(Re: )?Invitation to join The Apache Software 
Foundation Membership/
+      # The alternative prefix has been seen in a reply from China
+      # Looks like ': ' is being treated as a separate character
+      if v[:Subject] =~ /^(Re: |Re:)?Invitation to join The Apache Software 
Foundation Membership/
         pfx = $1
         to = Mail::AddressList.new(v[:To])
         cc = Mail::AddressList.new(v[:Cc])

Reply via email to