[Bug 1397170] [NEW] admin CGI throws UnicodeDecodeError when certain list text attrubutes are unicodes

Mark Sapiro mark at msapiro.net
Fri Nov 28 05:04:12 CET 2014


Public bug reported:

It is possible for the text values of various list attributes such as
info, welcome_msg, msg_footer and topics names and descriptions to be
unicodes. One way this may happen is if they are set via bin/config_list
from an input file with a

# -*- coding: utf-8 -*-

line. There may be other ways. It is not completely clear exactly how
this happens.

If these attributes are unicodes, attempts to display them in the lists
admin GUI result in UnicodeDecodeError exceptions.

This will be fixed to avoid the exception by displaying the
representation of the attribute rather than the attribute in cases of
text attributes whose value is not a string.

** Affects: mailman
     Importance: Low
     Assignee: Mark Sapiro (msapiro)
         Status: In Progress

-- 
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
https://bugs.launchpad.net/bugs/1397170

Title:
  admin CGI throws UnicodeDecodeError when certain list text attrubutes
  are unicodes

To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/1397170/+subscriptions


More information about the Mailman-coders mailing list