summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2002-08-09 23:49:59 +0000
committerbwarsaw2002-08-09 23:49:59 +0000
commit89a019fc60654ed8dfa4893389bd2dd5d84ad3ec (patch)
tree61f5d44a4458b3835bb45d9f058ce172b1727fec
parent0969ddf2e4f2a692ea86c686b9f9736fc6dabc04 (diff)
downloadmailman-89a019fc60654ed8dfa4893389bd2dd5d84ad3ec.tar.gz
mailman-89a019fc60654ed8dfa4893389bd2dd5d84ad3ec.tar.zst
mailman-89a019fc60654ed8dfa4893389bd2dd5d84ad3ec.zip
-rw-r--r--Mailman/Handlers/CookHeaders.py4
1 files changed, 3 insertions, 1 deletions
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: