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

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 11 18:24:19 UTC 2011


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

Comment (by azaozz):

 Replying to [comment:8 nacin]:

 The current regexp doesn't change/sanitize anything, it only checks
 whether the passed slug value is 'proper'. Why the change in behaviour?
 That could bring a mismatch down the line. The slugs are sanitized before
 loading the page.

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


More information about the wp-trac mailing list