diff options
author | Mark Sapiro <msapiro@value.net> | 2007-11-09 12:25:33 -0800 |
---|---|---|
committer | Mark Sapiro <msapiro@value.net> | 2007-11-09 12:25:33 -0800 |
commit | 70689d7eb61f8c852a6a02be1d65c86cde06bde2 (patch) | |
tree | bfa1e89eb9cf37c9679bf9c45f09726b32517ef9 /Mailman | |
parent | 111095a6a719f4f155081def5615e1174c36e2ca (diff) | |
download | mailman2-70689d7eb61f8c852a6a02be1d65c86cde06bde2.tar.gz mailman2-70689d7eb61f8c852a6a02be1d65c86cde06bde2.tar.xz mailman2-70689d7eb61f8c852a6a02be1d65c86cde06bde2.zip |
Fixed Mailman/Queue/CommandRunner.py to decode a quoted-printable or base64
encoded message part.
Diffstat (limited to '')
-rw-r--r-- | Mailman/Queue/CommandRunner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/Queue/CommandRunner.py b/Mailman/Queue/CommandRunner.py index e08d02eb..5920b89f 100644 --- a/Mailman/Queue/CommandRunner.py +++ b/Mailman/Queue/CommandRunner.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2004 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2007 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -93,7 +93,7 @@ class Results: if part is None: # E.g the outer Content-Type: was text/html return - body = part.get_payload() + body = part.get_payload(decode=True) # text/plain parts better have string payloads assert isinstance(body, StringType) or isinstance(body, UnicodeType) lines = body.splitlines() |