summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mailman/Handlers/Decorate.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Mailman/Handlers/Decorate.py b/Mailman/Handlers/Decorate.py
index 0ed8a3b04..d11848cf9 100644
--- a/Mailman/Handlers/Decorate.py
+++ b/Mailman/Handlers/Decorate.py
@@ -72,6 +72,7 @@ def process(mlist, msg, msgdata):
# BAW: If the charsets don't match, should we add the header and footer by
# MIME multipart chroming the message?
if not msg.is_multipart() and msgtype == 'text/plain' and \
+ msg.get('content-transfer-encoding', '').lower() <> 'base64' and \
(lcset == 'us-ascii' or mcset == lcset):
payload = header + msg.get_payload() + footer
msg.set_payload(payload)