[wp-trac] [WordPress Trac] #38593: Make rest_parse_request_arg the default sanitize_callback for params

WordPress Trac noreply at wordpress.org
Mon Oct 31 18:05:23 UTC 2016


#38593: Make rest_parse_request_arg the default sanitize_callback for params
--------------------------+------------------
 Reporter:  joehoyle      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.7
Component:  REST API      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------

Comment (by ChopinBach):

 I like this idea a lot, as it will probably help out a lot of people from
 inadvertently creating security issues for their own endpoint development,
 while still offering the flexibility to disable sanitizing entirely.

 To nitpick some coding standards, inline comments must start with a
 capital letter and end with a full stop character usually a period.  :)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38593#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list