Ticket #2485 (new defect)
String storing user's name should be trim()ed when first entered or changed in Control Panel
|Reported by:||greenfeld||Owned by:||garycmartin|
|Priority:||Unspecified by Maintainer||Milestone:||Unspecified by Release Team|
When a user enters their user name during the first boot of Sugar or changes it in the "About Me" Control Panel, we should trim() the string containing the user's name on both sides, removing all whitespace that the user may have accidentally entered.
Right now this whitespace gets stored as part of the string. I do not know if it screws up anything beyond looking strange visually.
Reproduced in OLPC 0.84 as well as 0.90 SoaS builds.