[Bugs] #2485 UNSP: String storing user's name should be trim()ed when first entered or changed in Control Panel

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Tue Feb 22 02:00:31 EST 2011


#2485: String storing user's name should be trim()ed when first entered or changed
in Control Panel
------------------------------------------+---------------------------------
    Reporter:  greenfeld                  |          Owner:                             
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  untriaged                  |        Version:  0.90.x                     
    Severity:  Unspecified                |       Keywords:  sugar-love                 
Status_field:  Unconfirmed                |   Distribution:  Unspecified                
   Seeta_dev:                             |  
------------------------------------------+---------------------------------

Comment(by aj462):

 Our team emailed a fix to the developer's mailing list with the two files
 we manipulated attached. On initial creation of the name, we simply
 stripped the white space, but when editing, we checked for a new line
 character. If no new line character is found, we strip the extraneous
 white space from the name. Otherwise, we do nothing to allow proper
 formatting for fancy names.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2485#comment:3>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list