From 89a019fc60654ed8dfa4893389bd2dd5d84ad3ec Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Fri, 9 Aug 2002 23:49:59 +0000 Subject: prefix_subject(): Elaborate a comment. --- Mailman/Handlers/CookHeaders.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Mailman/Handlers/CookHeaders.py b/Mailman/Handlers/CookHeaders.py index cc2315ea9..55ed5ac4d 100644 --- a/Mailman/Handlers/CookHeaders.py +++ b/Mailman/Handlers/CookHeaders.py @@ -194,7 +194,9 @@ def prefix_subject(mlist, msg, msgdata): subject = msg['subject'] msgdata['origsubj'] = subject # The header may be multilingual; decode it from base64/quopri and search - # each chunk for the prefix. + # each chunk for the prefix. BAW: Note that if the prefix contains spaces + # and each word of the prefix is encoded in a different chunk in the + # header, we won't find it. I think in practice that's unlikely though. headerbits = decode_header(subject) has_prefix = 0 if prefix and subject: -- cgit v1.3.1