diff options
| author | bwarsaw | 2003-04-08 18:33:00 +0000 |
|---|---|---|
| committer | bwarsaw | 2003-04-08 18:33:00 +0000 |
| commit | dec01760be375ab21ce8c9277ebd16ac88e0e3ec (patch) | |
| tree | 0d5539c0d81c8898d452859233e4b57ec66a8be5 | |
| parent | 5c1a8bbf0c18cb16b0cef983ca1691ca3299e7d0 (diff) | |
| download | mailman-dec01760be375ab21ce8c9277ebd16ac88e0e3ec.tar.gz mailman-dec01760be375ab21ce8c9277ebd16ac88e0e3ec.tar.zst mailman-dec01760be375ab21ce8c9277ebd16ac88e0e3ec.zip | |
ApprovedChangeMemberAddress(): When changing an address globally,
check to make sure the old address is a member of the list before
calling changeMemberAddress(). Bug report # 717096 and fix by Joe
Peterson.
| -rw-r--r-- | Mailman/MailList.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py index 67f0329cc..e0bcc8938 100644 --- a/Mailman/MailList.py +++ b/Mailman/MailList.py @@ -1041,6 +1041,8 @@ class MailList(HTMLFormatter, Deliverer, ListAdmin, mlist = MailList(listname, lock=0) if mlist.host_name <> self.host_name: continue + if not mlist.isMember(oldaddr): + continue mlist.Lock() try: mlist.changeMemberAddress(oldaddr, newaddr) |
