{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
|
||
|---|---|---|
| .. | ||
| caddyfile | ||
| httpcaddyfile | ||
| warning | ||
| configadapters.go | ||
| httploader.go | ||
| httploader_test.go | ||
| load.go | ||