diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2022-09-01 16:49:18 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2022-09-01 16:49:18 -0600 |
commit | 7c35bfa57cb402e82b28118b69c265df3e8c94fd (patch) | |
tree | 441b133a48ed6e6750b2fb743c1cf617312a2c5f /cmd/caddy/main.go | |
parent | 1edc1a45e3aee1f7d86b68c3ddaf2fd16ba8ab73 (diff) |
caddyhttp: Accept placeholders in vars matcher key
Until now, the vars matcher has unintentionally lacked parity with the
map directive: the destination placeholders of the map directive would
be expressed as placeholders, i.e. {foo}. But the vars matcher would
not use { }: vars foo value
This looked weird, and was confusing, since it implied that the key
could be dynamic, which doesn't seem helpful here.
I think this is a proper bug fix, since we're not used to accessing
placeholders literally without { } in the Caddyfile.
Diffstat (limited to 'cmd/caddy/main.go')
0 files changed, 0 insertions, 0 deletions