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 2025/03/07 22:08:47 UTC

(whimsy) branch master updated: Allow for forwarded mail

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 7970120c Allow for forwarded mail
7970120c is described below

commit 7970120c664f9291371d4cae8c14fe6f966d6697
Author: Sebb <se...@apache.org>
AuthorDate: Fri Mar 7 22:08:41 2025 +0000

    Allow for forwarded mail
---
 www/members/check_invitations.cgi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/members/check_invitations.cgi b/www/members/check_invitations.cgi
index b512c32f..f621cec7 100755
--- a/www/members/check_invitations.cgi
+++ b/www/members/check_invitations.cgi
@@ -61,7 +61,8 @@ def setup_data
       # may be sent as a reply
       # 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/
+      # Allow for forwarded mail (may not catch original and reply ...)
+      if v[:Subject] =~ /^(Re: |Re:)?(?:Fwd: )?Invitation to (?:re-)?join The Apache Software Foundation Membership/
         pfx = $1
         to = Mail::AddressList.new(v[:To])
         cc = Mail::AddressList.new(v[:Cc])