[wp-trac] [WordPress Trac] #44702: Lack of validation for the REST request method

WordPress Trac noreply at wordpress.org
Fri Nov 29 07:36:35 UTC 2019


#44702: Lack of validation for the REST request method
-------------------------------------------------+-------------------------
 Reporter:  andizer                              |       Owner:  (none)
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:
Component:  REST API                             |     Version:  4.4
 Severity:  normal                               |  Resolution:  wontfix
 Keywords:  has-patch has-unit-tests close       |     Focuses:  rest-api
  reporter-feedback                              |
-------------------------------------------------+-------------------------

Comment (by andizer):

 I can live with the closing of this issue. The reason for this was that
 there are pre-defined http methods and if a user uses a 'wrong' / unknown
 method the request flow might break or just acts in another behaviour. On
 the other side, if someone use a wrong one he might encounter this issue
 and can fix it. Thanks!

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


More information about the wp-trac mailing list