[ mailman-Bugs-672649 ] canonstr -> unicode usernames

SourceForge.net noreply at sourceforge.net
Wed Feb 12 20:05:49 EST 2003


Bugs item #672649, was opened at 2003-01-22 14: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.

----------------------------------------------------------------------

Comment By: Pat Carr (pcarr)
Date: 2003-02-12 23:05

Message:
Logged In: YES 
user_id=710070

I stumbled over the same bug, but in my case it was bailing
only in the confirm.py script.


----------------------------------------------------------------------

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