[ mailman-Bugs-672649 ] canonstr -> unicode usernames
SourceForge.net
noreply at sourceforge.net
Wed Jan 22 11:26:58 EST 2003
Bugs item #672649, was opened at 2003-01-22 19:26
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=672649&group_id=103
Category: (un)subscribing
Group: 2.1 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Donn Cave (donnc)
Assigned to: Nobody/Anonymous (nobody)
Summary: canonstr -> unicode usernames
Initial Comment:
Cgi.subscribe.process_form gets a unicode value for fullname,
from Utils.canonstr() (return unicode(newstr, charset,
'replace')
This came to my attention because it broke OwnerNotification
when the email Message couldn't "flatten" itself with the
unicode payload. Suspect that's only the beginning of the
trouble that will be caused, so I'm hoping we really don't
want unicode usernames values as a rule. I fixed it in
subscribe.py with fullname = fullname.encode('iso8859-1'), but
note that canonstr is used elsewhere like this.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=672649&group_id=103
More information about the Mailman-coders
mailing list