[ mailman-Bugs-672649 ] canonstr -> unicode usernames
SourceForge.net
noreply at sourceforge.net
Sun Apr 6 17:31:33 EDT 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: Closed
>Resolution: Fixed
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: Barry A. Warsaw (bwarsaw)
Date: 2003-04-06 19:31
Message:
Logged In: YES
user_id=12800
I think this bug has been fixed in 2.1.1 or 2.1.2 (cvs).
----------------------------------------------------------------------
Comment By: Tokio Kikuchi (tkikuchi)
Date: 2003-02-15 06:37
Message:
Logged In: YES
user_id=67709
If your users choose to input latin-1 charcters in fullname,
it will be better to set iso-8859-1as english charset.
in mm_cfg.py,
def _(s):
return s
LC_DESCRIPTIONS['en'] = (_('English (USA)'), 'iso-8859-1')
del _
----------------------------------------------------------------------
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