diff options
| author | bwarsaw | 2002-12-02 14:33:13 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-12-02 14:33:13 +0000 |
| commit | 5273de827d4576d6bd9e0ffc19fb4110f619ebbf (patch) | |
| tree | b4b1a7791be654c27faa01ad477c2f1cec963147 | |
| parent | 703a4f94ae84b9722ef71a44f73ea9d6a91f81c5 (diff) | |
| download | mailman-5273de827d4576d6bd9e0ffc19fb4110f619ebbf.tar.gz mailman-5273de827d4576d6bd9e0ffc19fb4110f619ebbf.tar.zst mailman-5273de827d4576d6bd9e0ffc19fb4110f619ebbf.zip | |
| -rw-r--r-- | Mailman/Handlers/CookHeaders.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Mailman/Handlers/CookHeaders.py b/Mailman/Handlers/CookHeaders.py index 55dbd1d12..1b65aa2eb 100644 --- a/Mailman/Handlers/CookHeaders.py +++ b/Mailman/Handlers/CookHeaders.py @@ -127,7 +127,8 @@ def process(mlist, msg, msgdata): # because some folks think that some MUAs make it easier to delete # addresses from the right than from the left. if mlist.reply_goes_to_list == 1: - add((mlist.description, mlist.GetListEmail())) + i18ndesc = uheader(mlist, mlist.description) + add((str(i18ndesc), mlist.GetListEmail())) del msg['reply-to'] # Don't put Reply-To: back if there's nothing to add! if new: @@ -149,7 +150,8 @@ def process(mlist, msg, msgdata): d = {} for pair in getaddresses(msg.get_all('cc', [])): add(pair) - add((mlist.description, mlist.GetListEmail())) + i18ndesc = uheader(mlist, mlist.description) + add((str(i18ndesc), mlist.GetListEmail())) del msg['Cc'] msg['Cc'] = COMMASPACE.join([formataddr(pair) for pair in new]) # Add list-specific headers as defined in RFC 2369 and RFC 2919, but only |
