[wp-trac] [WordPress Trac] #7768: Post meta escaped incorrectly

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 19 11:32:25 GMT 2008


#7768: Post meta escaped incorrectly
---------------------+------------------------------------------------------
 Reporter:  DD32     |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:  2.7      
Component:  General  |     Version:  2.6.1    
 Severity:  normal   |    Keywords:  has-patch
---------------------+------------------------------------------------------
 As raised by Rick Beckman on wp-hackers, " and ' are double escaped upon
 adding post meta.

 wpdb::escape() is being called on the metadata twice. See the attached
 patch

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7768>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list