------------------------------------------------------------
revno: 1141
committer: Mark Sapiro <[email protected]>
branch nick: 2.2
timestamp: Mon 2011-01-24 17:15:40 -0800
message:
@listname entries in *_these_nonmembers are no longer case sensitive.
Bug #705715.
modified:
Mailman/Handlers/Moderate.py
NEWS
--
lp:mailman/2.2
https://code.launchpad.net/~mailman-coders/mailman/2.2
Your team Mailman Checkins is subscribed to branch lp:mailman/2.2.
To unsubscribe from this branch go to
https://code.launchpad.net/~mailman-coders/mailman/2.2/+edit-subscription
=== modified file 'Mailman/Handlers/Moderate.py'
--- Mailman/Handlers/Moderate.py 2009-09-03 18:25:24 +0000
+++ Mailman/Handlers/Moderate.py 2011-01-25 01:15:40 +0000
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2008 by the Free Software Foundation, Inc.
+# Copyright (C) 2001-2011 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -136,19 +136,20 @@
elif are.startswith('@'):
# XXX Needs to be reviewed for list@domain names.
try:
- if are[1:] == listname:
+ mname = are[1:].lower().strip()
+ if mname == listname:
# don't reference your own list
syslog('error',
'*_these_nonmembers in %s references own list',
listname)
else:
- mother = MailList(are[1:], lock=0)
+ mother = MailList(mname, lock=0)
if mother.isMember(sender):
return 1
except Errors.MMUnknownListError:
syslog('error',
'*_these_nonmembers in %s references non-existent list %s',
- listname, are[1:])
+ listname, mname)
return 0
=== modified file 'NEWS'
--- NEWS 2011-01-14 02:08:47 +0000
+++ NEWS 2011-01-25 01:15:40 +0000
@@ -83,6 +83,9 @@
Bug Fixes and other patches
+ - @listname entries in *_these_nonmembers are no longer case sensitive.
+ Bug #705715.
+
- Changed bin/rmlist to also remove heldmsg files for the removed list and
fixed a problem with removal of stale locks for the list. Bug #700528.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org