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 9bb2ab79 Allow for forgotten CCs
9bb2ab79 is described below
commit 9bb2ab79542388c1bf1043f87514c2ee7b17273a
Author: Sebb <[email protected]>
AuthorDate: Sun Mar 10 00:07:15 2024 +0000
Allow for forgotten CCs
---
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 65b0a7af..725a8e08 100755
--- a/www/members/invitations.cgi
+++ b/www/members/invitations.cgi
@@ -51,7 +51,9 @@ def setup_data
mail.each do |k, v|
link = lists_link(v)
# This may not find all the invites ...
- if v[:Subject] =~ /^Invitation to join The Apache Software Foundation
Membership/
+ # 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/
to = Mail::AddressList.new(v[:To])
to.addresses.each do |add|
addr = add.address