[wp-trac] [WordPress Trac] #12060: Asymmetric Slashing in [12052]

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 28 01:41:23 UTC 2010


#12060: Asymmetric Slashing in [12052]
--------------------------+-------------------------------------------------
 Reporter:  miqrogroove   |       Owner:  ryan 
     Type:  defect (bug)  |      Status:  new  
 Priority:  normal        |   Milestone:  2.9.2
Component:  Query         |     Version:  2.9  
 Severity:  normal        |    Keywords:       
--------------------------+-------------------------------------------------
 Westi changed the string literal

 {{{'return trim($a, "\\"\'\\n\\r ");'}}}

 to

 {{{return trim($t, "\"\'\n\r ");}}}

 These are not syntactically equivalent, and the new version could break
 future attempts at wildcard escaping.

 For example, term\ is prevented, but %term is now unescaped.

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


More information about the wp-trac mailing list