You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(modules): drop the zabbix response content-type matcher
application/json-rpc is a request precondition, not a response type.
ui/api_jsonrpc.php accepts application/json-rpc, application/json or
application/jsonrequest and answers 412 otherwise, then always sets
`header('Content-Type: application/json')`. matchers are and'd, so
requiring json-rpc back meant the module never fired against a live
instance.
the test served the mock as application/json-rpc and asserted the real
application/json case produced no findings, so it locked the dead
behaviour in. it now runs the real shape and keeps json-rpc as a second
firing case for proxies that echo the request type.
status 200 plus the jsonrpc-2.0 dotted-result regex is already specific to
apiinfo.version; a json-rpc error body stays silent.
0 commit comments