------------------------------------------------------------
revno: 1106
committer: Mark Sapiro <[email protected]>
branch nick: 2.2
timestamp: Mon 2010-05-10 14:13:37 -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.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/Approve.py'
--- Mailman/Handlers/Approve.py 2010-04-09 20:16:21 +0000
+++ Mailman/Handlers/Approve.py 2010-05-10 21:13:37 +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| )*' + re.escape(passwd)
+ pattern = name + ':(\xA0|\s| )*' + 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:02:51 +0000
+++ NEWS 2010-05-10 21:13:37 +0000
@@ -87,6 +87,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