spiegel_podman/pkg/api/handlers/utils
Stef Walter fed198eaf9 api: Don't HTML escape application/json responses
An HTTP response with Content-Type application/json does not need
to be HTML escaped. Doing this causes encoding issues in the Podman
REST API output as seen in the issue:

Fixes #17769

Remove the HTML escaping from Content-Type: application/json responses.

Signed-off-by: Stef Walter <stef@thewalter.net>
Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-30 12:54:19 +02:00
..
apiutil set !remote build tags where needed 2024-08-19 11:41:28 +02:00
containers.go rework event code to improve API errors 2024-11-01 18:54:13 +01:00
errors.go pkg/api: remove deadcode 2025-06-26 19:37:13 +02:00
handler.go api: Don't HTML escape application/json responses 2025-06-30 12:54:19 +02:00
handler_test.go api: Don't HTML escape application/json responses 2025-06-30 12:54:19 +02:00
images.go fix deprecated docker v28 types 2025-03-11 16:24:34 +01:00