diff options
| author | mailman | 1998-03-31 04:51:26 +0000 |
|---|---|---|
| committer | mailman | 1998-03-31 04:51:26 +0000 |
| commit | d9b3efcbb113d2f6e3d486aeb24694b2829151eb (patch) | |
| tree | 06b6f7ef2a0a2c129ce12a3709e5cdf2f83bfeaa /modules/maillist.py | |
| parent | 1b168cd01757f1cc5e61fec216e82f29607667f5 (diff) | |
| download | mailman-d9b3efcbb113d2f6e3d486aeb24694b2829151eb.tar.gz mailman-d9b3efcbb113d2f6e3d486aeb24694b2829151eb.tar.zst mailman-d9b3efcbb113d2f6e3d486aeb24694b2829151eb.zip | |
Diffstat (limited to 'modules/maillist.py')
| -rw-r--r-- | modules/maillist.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/maillist.py b/modules/maillist.py index bdaa1c6ce..4cd51bdee 100644 --- a/modules/maillist.py +++ b/modules/maillist.py @@ -483,7 +483,8 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin, # ... and only then try the regexp acceptable aliases. for recip in recips: for alias in string.split(self.acceptable_aliases, '\n'): - if re.match(string.strip(alias), recip): + stripped = string.strip(alias) + if stripped and re.match(stripped, recip): return 1 return 0 |
