[wp-trac] [WordPress Trac] #18637: Poor regex used in admin-ajax.php for user UI state

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 12 21:48:46 UTC 2011


#18637: Poor regex used in admin-ajax.php for user UI state
----------------------------+---------------------
 Reporter:  MarcusPope      |       Owner:  nacin
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  3.3
Component:  Administration  |     Version:  3.2.1
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |
----------------------------+---------------------
Changes (by nacin):

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [18663]:
 {{{
 #!CommitTicketReference repository="" revision="18663"
 Loosen validation regex to use sanitize_key() in a few AJAX locations for
 things like pages, orders, columns. Change return value to 0 for failure,
 as -1 is reserved for authentication/intention. props ocean90, azaozz,
 fixes #18637.
 }}}

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


More information about the wp-trac mailing list