aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Cgi
diff options
context:
space:
mode:
authortkikuchi <>2004-12-01 05:11:39 +0000
committertkikuchi <>2004-12-01 05:11:39 +0000
commit983c1a3fb43179ad781cee37cc6c9d8a3d4aa178 (patch)
treee4da97ac8e602f57b16d901e547d762db9aa3210 /Mailman/Cgi
parentc68b2872521846669cea46c7abd24a3152d21c8b (diff)
downloadmailman2-983c1a3fb43179ad781cee37cc6c9d8a3d4aa178.tar.gz
mailman2-983c1a3fb43179ad781cee37cc6c9d8a3d4aa178.tar.xz
mailman2-983c1a3fb43179ad781cee37cc6c9d8a3d4aa178.zip
Precautions against 'charset=' (empty) message.
Diffstat (limited to 'Mailman/Cgi')
-rw-r--r--Mailman/Cgi/admindb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Cgi/admindb.py b/Mailman/Cgi/admindb.py
index 248f7657..38d08a2c 100644
--- a/Mailman/Cgi/admindb.py
+++ b/Mailman/Cgi/admindb.py
@@ -609,7 +609,7 @@ def show_post_requests(mlist, id, info, total, count, form):
if mcset <> lcset:
try:
body = unicode(body, mcset).encode(lcset)
- except (LookupError, UnicodeError):
+ except (LookupError, UnicodeError, ValueError):
pass
hdrtxt = NL.join(['%s: %s' % (k, v) for k, v in msg.items()])
hdrtxt = Utils.websafe(hdrtxt)