spiegel_podman/libpod/define
Paul Holzinger 56a24d5183
fix container inspect output to not escape html chars
The default std json behavior is to escape &, < and >. Because we print
to the terminal we do not want escapes and rather the real chars.

That is what PrintGenericJSON() does but because we have custom
MarshalJSON() overwrite on the type which called json.Marshal() this
option was not carried into that. The inner type must not escape it.

This is not a problem in the other direction because the outer
json.Marshal call will still escape the chars returned from the inner
MarshalJSON() result if needed.

Fixes: #28560

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-04-23 20:12:14 +02:00
..
annotations.go Support --cpuset-<cpus/mems> in podman kube play 2025-05-22 11:45:01 +02:00
autoupdate.go auto-update: validate container image 2022-09-26 17:07:05 +02:00
checkpoint_restore.go Added optional container checkpointing statistics 2021-11-15 11:50:24 +00:00
config.go run modernize -fix ./... 2025-09-10 16:17:04 +02:00
container.go Fix device limitations in podman-remote update on remote systems 2024-12-09 17:35:56 +01:00
container_inspect.go fix container inspect output to not escape html chars 2026-04-23 20:12:14 +02:00
containerstate.go List all status values in status filter documentation 2026-02-19 09:28:37 -05:00
diff.go podman diff accept two images or containers 2021-07-02 17:11:56 +02:00
errors.go Add GET /quadlets/{name}/exists 2026-01-27 16:10:56 +01:00
exec_codes.go test: adapt tests new crun error messages 2025-02-17 20:47:43 +01:00
exit_code_propagation.go kube play: exit-code propagation 2023-05-25 14:46:34 +02:00
fileinfo.go Fixes from make codespell 2021-04-21 13:16:33 -04:00
healthchecks.go Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
info.go Remove unused slirp4netns imports and Slirp4NetNS field 2026-04-13 09:04:41 -04:00
mount.go Add support for ramfs as well as tmpfs in volume mounts 2023-08-21 07:14:57 -04:00
mount_freebsd.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
mount_linux.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
mount_unsupported.go libpod/define: Make TypeBind a platform-specific constant 2022-08-30 16:32:24 +01:00
pod_inspect.go Add --no-hostname option 2025-01-15 06:51:32 -05:00
podstate.go Add a Degraded state to pods 2020-10-21 13:31:40 -04:00
runtime.go Add support for containers.conf 2020-03-27 14:36:03 -04:00
sdnotify.go add "healthy" sdnotify policy 2023-07-25 11:17:44 +02:00
version.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
volume_inspect.go run modernize -fix ./... 2025-09-10 16:17:04 +02:00