diff options
author | Yasuhito FUTATSUKI at POEM <futatuki@poem.co.jp> | 2016-07-12 10:09:09 +0900 |
---|---|---|
committer | Yasuhito FUTATSUKI at POEM <futatuki@poem.co.jp> | 2016-07-12 10:09:09 +0900 |
commit | cf3173589c879179e0f4c5eb9763f415d14b3d8f (patch) | |
tree | 069a4103f559dec875eceb657b77bf62b438161b /Mailman/Handlers | |
parent | 79b979f4a01475359abcf6ca23d507b99b387e54 (diff) | |
parent | ba66ce7f13827b858125131fa638c87266d9cf99 (diff) | |
download | mailman2-cf3173589c879179e0f4c5eb9763f415d14b3d8f.tar.gz mailman2-cf3173589c879179e0f4c5eb9763f415d14b3d8f.tar.xz mailman2-cf3173589c879179e0f4c5eb9763f415d14b3d8f.zip |
Merge lp:mailman/2.1 rev 1660
Diffstat (limited to '')
-rw-r--r-- | Mailman/Handlers/SpamDetect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Handlers/SpamDetect.py b/Mailman/Handlers/SpamDetect.py index c7b8d9e7..1ea295a6 100644 --- a/Mailman/Handlers/SpamDetect.py +++ b/Mailman/Handlers/SpamDetect.py @@ -86,7 +86,7 @@ def getDecodedHeaders(msg, cset='utf-8'): # unicode it as iso-8859-1 which may result in a garbled # mess, but we have to do something. uvalue += unicode(frag, 'iso-8859-1', 'replace') - headers += '%s: %s\n' % (h, uvalue.encode(cset, 'replace')) + headers += '%s: %s\n' % (h, uvalue.encode(cset, 'backslashreplace')) return headers |