[wp-trac] [WordPress Trac] #10360: $_REQUEST's slashes may differ from $_GET/$_POST

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 11 18:41:40 UTC 2009


#10360: $_REQUEST's slashes may differ from $_GET/$_POST
--------------------------+-------------------------------------------------
 Reporter:  dd32          |       Owner:  ryan        
     Type:  defect (bug)  |      Status:  new         
 Priority:  normal        |   Milestone:  2.8.2       
Component:  Security      |     Version:  2.8         
 Severity:  normal        |    Keywords:  dev-feedback
--------------------------+-------------------------------------------------

Comment(by hakre):

 Replying to [comment:23 Denis-de-Bernardy]:
 > @hakre: ticket is not invalid, and not slashing $_REQUEST can introduce
 potential security issues if a plugin uses it expecting it's always
 slashed.

 The way WordPress handles the request data per se introduces a lot of
 potential security isseus. So this is ticket is not the right place to
 pick that topic. Especially having $_REQUEST untainted is a kind of better
 practice as the pseudo-security with $_POST and $_GET.

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


More information about the wp-trac mailing list