[wp-trac] [WordPress Trac] #62932: Fatal error in rest api with invalid inputs
WordPress Trac
noreply at wordpress.org
Mon Feb 17 02:05:09 UTC 2025
#62932: Fatal error in rest api with invalid inputs
----------------------------+-----------------------
Reporter: dd32 | Owner: (none)
Type: defect (bug) | Status: new
Priority: low | Milestone: 6.8
Component: REST API | Version:
Severity: trivial | Resolution:
Keywords: php8 has-patch | Focuses: rest-api
----------------------------+-----------------------
Comment (by dd32):
I'm totally fine with an error here, I was just following the same
behaviour for other invalid rest-api requests such as
`http://example.org/?rest_route=`.
This is such an edge-case that we might as well be helpful to a confused
developer.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62932#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list