------------------------------------------------------------ revno: 1521 fixes bug: https://launchpad.net/bugs/1414864 committer: Mark Sapiro <m...@msapiro.net> branch nick: 2.1 timestamp: Mon 2015-01-26 18:30:02 -0800 message: Fixed a bug in bin/rmlist that would throw an exception or just fail to remove held message files for a list with regexp special characters in its name. modified: NEWS bin/rmlist
-- lp:mailman/2.1 https://code.launchpad.net/~mailman-coders/mailman/2.1 Your team Mailman Checkins is subscribed to branch lp:mailman/2.1. To unsubscribe from this branch go to https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription
=== modified file 'NEWS' --- NEWS 2015-01-24 01:35:45 +0000 +++ NEWS 2015-01-27 02:30:02 +0000 @@ -1,6 +1,6 @@ -*- coding: iso-8859-1 -*- Mailman - The GNU Mailing List Management System -Copyright (C) 1998-2014 by the Free Software Foundation, Inc. +Copyright (C) 1998-2015 by the Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA Here is a history of user visible changes to Mailman. @@ -124,6 +124,10 @@ Bug fixes and other patches + - Fixed a bug in bin/rmlist that would throw an exception or just fail to + remove held message files for a list with regexp special characters in + its name. (LP:#1414864) + - When applying DMARC mitigations, CookHeaders now adds the original From: to Cc: rather than Reply-To: in some cases to make MUA 'reply' and 'reply all' more consistent with the non-DMARC cases. (LP: #1407098) === modified file 'bin/rmlist' --- bin/rmlist 2011-01-14 02:06:17 +0000 +++ bin/rmlist 2015-01-27 02:30:02 +0000 @@ -134,7 +134,7 @@ # Remove any held messages for this list for filename in os.listdir(mm_cfg.DATA_DIR): - cre = re.compile('^heldmsg-%s-\d+\.(pck|txt)$' % listname, + cre = re.compile('^heldmsg-%s-\d+\.(pck|txt)$' % re.escape(listname), re.IGNORECASE) if cre.match(filename): REMOVABLES.append((os.path.join(mm_cfg.DATA_DIR, filename),
_______________________________________________ Mailman-checkins mailing list Mailman-checkins@python.org Unsubscribe: https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org