summaryrefslogtreecommitdiff
path: root/Mailman/Handlers
diff options
context:
space:
mode:
authormsapiro2006-06-23 20:14:48 +0000
committermsapiro2006-06-23 20:14:48 +0000
commit0e5f225c56421be11b2db4a0e4b7318506c72baf (patch)
tree0a19adad55f72c24c7651a19e742273301b51cca /Mailman/Handlers
parentf2c48d46958e5454927f7252bf52d5dea39ed9ed (diff)
downloadmailman-0e5f225c56421be11b2db4a0e4b7318506c72baf.tar.gz
mailman-0e5f225c56421be11b2db4a0e4b7318506c72baf.tar.zst
mailman-0e5f225c56421be11b2db4a0e4b7318506c72baf.zip
- Decorate.py Fixed bug 1507248 by ignoring header/footer characters
outside the character set of the list's language.
Diffstat (limited to 'Mailman/Handlers')
-rw-r--r--Mailman/Handlers/Decorate.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/Handlers/Decorate.py b/Mailman/Handlers/Decorate.py
index df4e36b1b..a69bb7f1c 100644
--- a/Mailman/Handlers/Decorate.py
+++ b/Mailman/Handlers/Decorate.py
@@ -91,8 +91,8 @@ def process(mlist, msg, msgdata):
# TK: Try to keep the message plain by converting the header/
# footer/oldpayload into unicode and encode with mcset/lcset.
# Try to decode qp/base64 also.
- uheader = unicode(header, lcset)
- ufooter = unicode(footer, lcset)
+ uheader = unicode(header, lcset, 'ignore')
+ ufooter = unicode(footer, lcset, 'ignore')
try:
oldpayload = unicode(msg.get_payload(decode=True), mcset)
frontsep = endsep = u''