[wp-trac] [WordPress Trac] #41269: AJAX hook URL returns 200 when bad/missing action

WordPress Trac noreply at wordpress.org
Fri Jul 7 17:15:04 UTC 2017


#41269: AJAX hook URL returns 200 when bad/missing action
--------------------------+-----------------------------
 Reporter:  ryanrolds     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Plugins       |    Version:  4.8
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When requesting `/wp-admin/admin-ajax.php` with an invalid/missing
 `action` the response has a status code of `200`, which indicates a
 successful request. A `400` response with a reason would be more fitting.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41269>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list