[wp-trac] [WordPress Trac] #38586: REST API: Allow arrays to be sent as CSVs

WordPress Trac noreply at wordpress.org
Mon Oct 31 17:07:16 UTC 2016


#38586: REST API: Allow arrays to be sent as CSVs
----------------------------+-----------------------
 Reporter:  pento           |       Owner:  pento
     Type:  task (blessed)  |      Status:  reopened
 Priority:  normal          |   Milestone:  4.7
Component:  REST API        |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  needs-docs      |     Focuses:
----------------------------+-----------------------

Comment (by joehoyle):

 In [changeset:"39061"]:
 {{{
 #!CommitTicketReference repository="" revision="39061"
 REST API: Sanitize arrays being sent as CSVs.

 In #38586 the ability to parse arrays as csv was introduced, however it
 didn't add any support for validating csv arrays. This adds such
 sanitization, and also a good amount of unit tests for all sanitization
 baed off schema.

 See #38586.
 }}}

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


More information about the wp-trac mailing list