Report generation crashes for non-ascii characters in commit messages.
Bug #1821165 reported by
Robin Åstedt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
TextTest |
Fix Released
|
Undecided
|
Geoff Bache |
Bug Description
In texttestlib/
Here it parses changelog.xml (When it is in plain text format) by opening it in utf-8 encoding, but then when converting from a unicode string to a byte string it specifies ascii encoding.
Proposed fix:
- self.addUnique(
+ self.addUnique(
This information is then used to generate an url so perhaps it would be good to strip the string of any non-url-safe characters. But, calling line.encode(
description: | updated |
To post a comment you must log in.
Thanks for the report. Have committed your fix to trunk now, will try to release it when I have looked at another possibly related problem around encodings in this area... hopefully tomorrow.