Update of /cvsroot/mailman/mailman/Mailman
In directory usw-pr-cvs1:/tmp/cvs-serv6453
Modified Files:
ListAdmin.py
Log Message:
__handlepost(): Fix the composition of the forwarded message, so that
the copy of the Message instance doesn't get passed to
UserNotification's constructor via the `text' argument. Instead, it
should get attached via set_payload() after the Content-Type: is set
to message/rfc822.
Bug reported by Ron Jarrell.
Index: ListAdmin.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/ListAdmin.py,v
retrieving revision 2.34
retrieving revision 2.35
diff -C2 -d -r2.34 -r2.35
*** ListAdmin.py 1 Apr 2002 17:49:59 -0000 2.34
--- ListAdmin.py 1 Apr 2002 19:07:48 -0000 2.35
***************
*** 325,332 ****
addr, self.GetBouncesEmail(),
_('Forward of moderated message'),
! copy, lang)
finally:
i18n.set_translation(otrans)
fmsg.set_type('message/rfc822')
fmsg.send(self)
# Log the rejection
--- 325,333 ----
addr, self.GetBouncesEmail(),
_('Forward of moderated message'),
! lang=lang)
finally:
i18n.set_translation(otrans)
fmsg.set_type('message/rfc822')
+ fmsg.set_payload(copy)
fmsg.send(self)
# Log the rejection
_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-checkins