caddy/modules
Matthew Holt fe69f5da2d caddyhttp: enforce bounded host metric labels on HTTPS
With per_host metrics, HTTPS servers automatically observed catch-all
hosts, and port/case variants of configured hosts produced distinct
labels. Require explicit observe_catchall_hosts for unconfigured hosts,
normalize the host label, and also collect hosts from subroutes, error
routes and named routes (scanned after handlers are provisioned).

Behavior change: unconfigured hosts on HTTPS servers are now labeled
"_other" unless observe_catchall_hosts is enabled.

Addresses scan report 457dcf090b421495.

Code written by GitHub Copilot (GPT-6.1 Sol, Claude Opus 5.5); reviewed by mholt.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-11 11:06:40 -07:00
..
caddyevents
…
caddyfs
…
caddyhttp caddyhttp: enforce bounded host metric labels on HTTPS 2026-11-11 11:06:40 -07:00
caddypki
…
caddytls caddytls: require a trust pool for client cert verification modes (#8394) 2026-11-10 09:09:17 +00:00
filestorage
…
internal/network
…
logging
…
metrics
…
standard
…