[ mailman-Patches-1437867 ] Bug: canonstr() with funny character
SourceForge.net
noreply at sourceforge.net
Fri Feb 24 05:53:06 CET 2006
Patches item #1437867, was opened at 2006-02-24 13:53
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1437867&group_id=103
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Web UI
Group: Mailman 2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Hatuka*nezumi (hatukanezumi)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bug: canonstr() with funny character
Initial Comment:
Utils.canonstr() generates traceback when user's
realname contains some unconvertible characters (\ufffd
etc.).
A patch is attached.
Tracebacks (line numbers have some offsets):
Traceback (most recent call last):
File "/usr/local/mailman/scripts/driver", line 87, in
run_main
main()
File "/usr/local/mailman/Mailman/Cgi/admin.py", line
176, in main
change_options(mlist, category, subcat, cgidata, doc)
File "/usr/local/mailman/Mailman/Cgi/admin.py", line
1497, in change_options
newname = Utils.canonstr(newname,
mlist.preferred_language)
File "/usr/local/mailman/Mailman/Utils.py", line 850,
in canonstr
newstr = EMPTYSTRING.join(newparts)
UnicodeDecodeError: 'ascii' codec can't decode byte
0x8e in position 0: ordinal not in range(128)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1437867&group_id=103
More information about the Mailman-coders
mailing list