Werk #22667 · Nov 12, 26
REST API: Reject notification rule HTTP proxy enabled without value
Incompatible change. Existing setups may behave differently after upgrading. Review the details below before updating.
When creating or editing a notification rule through the REST API, the http_proxy parameter of a notification method could be sent with "state": "enabled" but without a value. Such a request was accepted, but the rule was saved without an HTTP proxy.
The REST API now rejects such requests with status code 400.
Scripts that send http_proxy this way must either add a value or send "state": "disabled". The latter results in the same rule as before.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- REST API
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p22All Editions