------------------------------------------------------------
revno: 1235
committer: Mark Sapiro <[email protected]>
branch nick: 2.1
timestamp: Mon 2010-05-10 14:11:45 -0700
message:
  Made a minor change to the removal of an Approved: pseudo-header from
  a text/html alternative to allow for an inserted '\xA0' before the
  password.
modified:
  Mailman/Handlers/Approve.py
  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/Handlers/Approve.py'
--- Mailman/Handlers/Approve.py	2010-04-09 20:17:07 +0000
+++ Mailman/Handlers/Approve.py	2010-05-10 21:11:45 +0000
@@ -111,7 +111,7 @@
             # line of HTML or other fancy text may include additional message
             # text.  This pattern works with HTML.  It may not work with rtf
             # or whatever else is possible.
-            pattern = name + ':(\s|&nbsp;)*' + re.escape(passwd)
+            pattern = name + ':(\xA0|\s|&nbsp;)*' + re.escape(passwd)
             for part in typed_subpart_iterator(msg, 'text'):
                 if part is not None and part.get_payload() is not None:
                     lines = part.get_payload(decode=True)

=== modified file 'NEWS'
--- NEWS	2010-05-07 04:04:38 +0000
+++ NEWS	2010-05-10 21:11:45 +0000
@@ -17,6 +17,10 @@
 
   Bug Fixes and other patches
 
+    - Made a minor change to the removal of an Approved: pseudo-header from
+      a text/html alternative to allow for an inserted '\xA0' before the
+      password.
+
     - Fixed Content Filtering collapse_alternatives to work on deeply nested
       multipart/alternative parts.  Bug #576675.
 

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

Reply via email to