[wp-trac] [WordPress Trac] #38477: Missing validation while posting comment via REST API

WordPress Trac noreply at wordpress.org
Thu Nov 3 00:47:49 UTC 2016


#38477: Missing validation while posting comment via REST API
-------------------------------------------------+-------------------------
 Reporter:  mangeshp                             |       Owner:
     Type:  defect (bug)                         |  rachelbaker
 Priority:  normal                               |      Status:  assigned
Component:  REST API                             |   Milestone:  4.7
 Severity:  normal                               |     Version:  trunk
 Keywords:  has-patch has-unit-tests dev-        |  Resolution:
  feedback                                       |     Focuses:
-------------------------------------------------+-------------------------

Comment (by pento):

 Nice! This is the direction I was thinking.

 For the REST API, is it valuable/possible to return all of the the fields
 that are too long? It'd probably be valuable to do the same for
 `wp_handle_comment_submission()`, but that's getting out of scope of this
 ticket.

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


More information about the wp-trac mailing list