#745: AgaviStringValidator should trim the input string
----------------------------+-----------------------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  dominik                          
            
     Type:  enhancement     |      Status:  new                                 
         
 Priority:  normal          |   Milestone:                                      
         
Component:  validation      |     Version:  0.11.0                              
         
 Severity:  normal          |    Keywords:  AgaviStringValidator validation 
trim trimming
Has_patch:  1               |  
----------------------------+-----------------------------------------------
 A user might enter an arbitrary number of whitespace characters to reach
 the required number of characters in AgaviStringValidator. Therefore it
 would be nice having a parameter to promt the validator to trim the input
 (see the appended patch). It may be a good idea to activate trimming by
 default, although this breaks compatibility to older versions of agavi for
 someone who relies on un-trimmed strings.

 Thanks for this great framework! [[BR]]Chris

-- 
Ticket URL: <http://trac.agavi.org/ticket/745>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5


_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to