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 3c4b692 Allow for -suffix as well as +suffix
3c4b692 is described below
commit 3c4b6923bb197f3d91750cadd72bbb5e37a4e960
Author: Sebb <[email protected]>
AuthorDate: Mon Jun 26 14:45:02 2017 +0100
Allow for -suffix as well as +suffix
---
www/members/subscriptions.cgi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/members/subscriptions.cgi b/www/members/subscriptions.cgi
index 4f103dc..107e56c 100755
--- a/www/members/subscriptions.cgi
+++ b/www/members/subscriptions.cgi
@@ -69,7 +69,7 @@ _html do
subscriptions = []
ASF::MLIST.members_subscribers do |line|
person = maillist[line.downcase]
- person ||= maillist[line.downcase.sub(/\+\w+@/,'@')]
+ person ||= maillist[line.downcase.sub(/[-+]\w+@/,'@')] # allow for
trailing +- suffix
if person
id = person.id
id = '*notinavail*' if id == 'notinavail'
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].