[Vtigercrm-commits] [vtiger development] #6321: '%' in SQL-Statement escaped twice

vtiger development vtiger-tickets at trac.vtiger.com
Fri Sep 18 05:06:50 EDT 2009


#6321: '%' in SQL-Statement escaped twice
-----------------------+----------------------------------------------------
 Reporter:  paproth    |       Owner:  developer
     Type:  defect     |      Status:  new      
 Priority:  trivial    |   Milestone:  5.2.0    
Component:  vtigercrm  |     Version:  5.1.0    
 Keywords:             |  
-----------------------+----------------------------------------------------
 In function
 {{{
   formatForSqlLike($str, $flag=0,$is_field=false)
 }}}

 '%' is escaped twice. So if you had "T%st" as input you got "T\\%st" as
 result!

 affects file 'include/utils/utils.php'.

 Best regards, stefan

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/6321>
vtiger development <http://trac.vtiger.com/>
vtigerCRM




More information about the vtigercrm-commits mailing list