Changes between Initial Version and Version 27 of Ticket #45933
- Timestamp:
- 01/17/2019 07:05:55 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #45933
- Property Keywords needs-testing added
- Property Milestone Awaiting Review → 5.1
- Property Owner set to
- Property Status new → reviewing
- Property Summary WSODs protection returns incorrect content type → WSODs protection returns incorrect content type for JSON Requests
-
Ticket #45933 – Description
initial v27 1 While testing WSODs protection ( #44458 ), I noticed that on REST API calls and RSS feeds,that wrong content type is returned. The REST API expects valid json to be returned. Other invalid rest requests, return an error state in the following format.1 While testing WSODs protection ( #44458 ), I noticed that on REST API calls that wrong content type is returned. The REST API expects valid json to be returned. Other invalid rest requests, return an error state in the following format. 2 2 3 3 {{{#!php … … 11 11 }}} 12 12 13 As for RSS feeds, what is returned is not valid XML and will likely break most feed readers that are parsing them.14 13 15 14 This issue is that `wp_die`, has go handles for, admin ajax, xmlrpc and html responses. But doesn't check for feed or rest api rests.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)