Werk #16279: service_discovery: redirect response header incorrectly configured to an absolute URI

Component REST API
Title service_discovery: redirect response header incorrectly configured to an absolute URI
Date Nov 16, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p16 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

When calling the service discovery endpoint, the redirect response header 'location' was set to an absolute URI, when it should be a relative URI.

This werk addresses this issue by setting the URI correctly in the redirect responses.

To the list of all Werks