[wp-trac] [WordPress Trac] #12402: make addslashes_gpc() use addslashes() fix to use real_escape, rather than addslashes

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 27 14:52:39 UTC 2010


#12402: make addslashes_gpc() use addslashes() fix to use real_escape, rather than
addslashes
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  ryan                   
     Type:  defect (bug)       |      Status:  new                    
 Priority:  normal             |   Milestone:  3.0                    
Component:  Security           |     Version:  3.0                    
 Severity:  normal             |    Keywords:  has-patch needs-testing
-------------------------------+--------------------------------------------

Comment(by miqrogroove):

 Replying to [comment:3 Denis-de-Bernardy]:
 > keep esc_sql()'s behavior unchanged for now (which is exactly what the
 patch does).

 Take another look at add_magic_quotes() then.  It is not equivalent to
 what you're trying to do here.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12402#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list