caddy/caddyconfig
D'Ali Ben Macha b8ff99bae2
caddyfile: reject negative import argument indices (#8316)
{args[-1]} and {args.-1} parsed as -1 and indexed the args slice
directly, panicking with index out of range. Treat negative indices as
out of bounds, like indices past the end.

(cherry picked from commit 482f867395)
2026-11-03 18:21:22 -05:00
..
caddyfile caddyfile: reject negative import argument indices (#8316) 2026-11-03 18:21:22 -05:00
httpcaddyfile httpcaddyfile: preserve automation policy precedence when merging (#8287) 2026-11-03 00:53:50 -05:00
warning admin: fix warnings and status code in /load API (#7267) 2026-09-23 08:55:38 -06:00
configadapters.go admin: fix warnings and status code in /load API (#7267) 2026-09-23 08:55:38 -06:00
httploader.go caddyconfig: cancel HTTP loader requests with context (#7918) 2026-08-10 15:12:47 +10:00
httploader_test.go caddyconfig: cancel HTTP loader requests with context (#7918) 2026-08-10 15:12:47 +10:00
load.go admin: better Cache-Control handling (#8330) 2026-11-03 00:53:50 -05:00