[wp-trac] Re: [WordPress Trac] #5188: Additional DB sanitization functions

WordPress Trac wp-trac at lists.automattic.com
Mon May 11 01:04:52 GMT 2009


#5188: Additional DB sanitization functions
-------------------------+--------------------------------------------------
 Reporter:  markjaquith  |        Owner:  anonymous
     Type:  enhancement  |       Status:  closed   
 Priority:  normal       |    Milestone:           
Component:  General      |      Version:           
 Severity:  normal       |   Resolution:  wontfix  
 Keywords:               |  
-------------------------+--------------------------------------------------
Changes (by Denis-de-Bernardy):

  * status:  new => closed
  * resolution:  => wontfix
  * milestone:  2.9 =>


Comment:

 I fail to see the point. If so, we'd also need a sanitize_where,
 sanitize_join, sanitize_group_by, and, why not..., sanitize_subquery. In
 short, an SQL parser.

 It's the plugin author's responsibility to make sure that whatever he adds
 is valid sql.

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


More information about the wp-trac mailing list