mirror of
https://github.com/caddyserver/caddy.git
synced 2026-11-16 21:16:00 +00:00
The previous pass escaped every "${" before placeholder expansion, which
also suppressed a Caddy placeholder after a literal dollar:
"${http.request.method}" stayed literal instead of becoming "$GET".
Escape the brace only for braced references that name an actual numeric
or named capture, and double every other literal "$" so ExpandString
restores it. Adds a parity case for a placeholder after a literal dollar.
|
||
|---|---|---|
| .. | ||
| caddyevents | ||
| caddyfs | ||
| caddyhttp | ||
| caddypki | ||
| caddytls | ||
| filestorage | ||
| internal/network | ||
| logging | ||
| metrics | ||
| standard | ||