Bug: canonstr() with funny character
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
New
|
Undecided
|
Unassigned |
Bug Description
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/
run_main
main()
File "/usr/local/
176, in main
change_
File "/usr/local/
1497, in change_options
newname = Utils.canonstr(
mlist.preferred
File "/usr/local/
in canonstr
newstr = EMPTYSTRING.
UnicodeDecodeError: 'ascii' codec can't decode byte
0x8e in position 0: ordinal not in range(128)
The file mailman- cvs20060224- canonstr. patch was added: None