From 5273de827d4576d6bd9e0ffc19fb4110f619ebbf Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Mon, 2 Dec 2002 14:33:13 +0000 Subject: process(): Be sure to i18n-ify any headers with milst.description in them. --- Mailman/Handlers/CookHeaders.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Mailman/Handlers') 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 -- cgit v1.2.3-70-g09d2