diff options
| author | bwarsaw | 2002-03-16 02:09:40 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-03-16 02:09:40 +0000 |
| commit | 9028b42b0eb7cffed60835d73d3ab1be4586d297 (patch) | |
| tree | 5020bcd55fd81e29c1049d09174a4d60fb4b6a61 | |
| parent | 72d5c01f46bfad049efbaf8b7575b391bd45065e (diff) | |
| download | mailman-9028b42b0eb7cffed60835d73d3ab1be4586d297.tar.gz mailman-9028b42b0eb7cffed60835d73d3ab1be4586d297.tar.zst mailman-9028b42b0eb7cffed60835d73d3ab1be4586d297.zip | |
process(): Add another predicate to the test for whether we can add
headers and footers by concatenation. Content-Transfer-Encoding: must
not be base64.
Diffstat (limited to '')
| -rw-r--r-- | Mailman/Handlers/Decorate.py | 1 |
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) |
