Open Pa55er6y opened 3 weeks ago
With an authenticated user, sending an invalid JSON payload (such as {"model": {"": null}}) to the endpoint POST /content/models/save would lead to 500 internal server error instead of 400 bad request.
{"model": {"": null}}
POST /content/models/save
500 internal server error
400 bad request
Version: 2.9.4 OS: Ubuntu 24.04 Setup: PHP 8.3.6 + SQLite
Please create an issue here: https://github.com/Cockpit-HQ/Cockpit/issues
Thanks for the info. I've just posted it there.
With an authenticated user, sending an invalid JSON payload (such as
{"model": {"": null}}
) to the endpointPOST /content/models/save
would lead to500 internal server error
instead of400 bad request
.Version: 2.9.4 OS: Ubuntu 24.04 Setup: PHP 8.3.6 + SQLite