------------------------------------------------------------
revno: 1195
committer: Mark Sapiro <[email protected]>
branch nick: 2.1
timestamp: Thu 2009-09-03 10:29:36 -0700
message:
  Changed VERP_CONFIRM_REGEXP  in Defaults.py to work if the replying
  MUA folds the To: header and in cases where the list name includes '+'.
modified:
  Mailman/Defaults.py.in
  NEWS


--
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 'Mailman/Defaults.py.in'
--- Mailman/Defaults.py.in	2008-12-23 01:24:44 +0000
+++ Mailman/Defaults.py.in	2009-09-03 17:29:36 +0000
@@ -663,8 +663,11 @@
 # From: local_p...@host
 # into
 # To: "local_part" <local_p...@host>
-# when replying, so we skip everything up to '<' if any.
-VERP_CONFIRM_REGEXP = r'^(.*<)?(?P<addr>[^+]+?)\+(?P<cookie>[...@]+)@.*$'
+# or even
+# To: "local_p...@host" <local_p...@host>
+# and may even fold the header when replying, so we skip everything up to '<'
+# if any and include ($s) so dot will match the newline in a folded header.
+VERP_CONFIRM_REGEXP = r'(?s)^(.*<)?(?P<addr>.+)\+(?P<cookie>[...@+]+)@.*$'
 
 # Set this to Yes to enable VERP-like (more user friendly) confirmations
 VERP_CONFIRMATIONS = No

=== modified file 'NEWS'
--- NEWS	2009-08-10 17:28:49 +0000
+++ NEWS	2009-09-03 17:29:36 +0000
@@ -8,6 +8,9 @@
 
   Bug Fixes and other patches
 
+    - Changed VERP_CONFIRM_REGEXP  in Defaults.py to work if the replying
+      MUA folds the To: header and in cases where the list name includes '+'.
+
     - Fixed some paths in contrib/check_perms_grsecurity.py. Bug #411192.
 
     - Replies to commands sent to list-request now come From: list-owner

_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to