diff options
author | Francis Lavoie <lavofr@gmail.com> | 2023-04-20 14:43:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-20 18:43:51 +0000 |
commit | 53b6fab125f3f2f149d59fcfe13b1e8b1735da56 (patch) | |
tree | 242a8e721d7ea6fe5c8dddbd090e08ec74d27da0 /modules/caddyhttp/reverseproxy/fastcgi | |
parent | c6ac350a3b53feb1dfcc24d82421cd20da61a163 (diff) |
caddyfile: Stricter parsing, error for brace on new line (#5505)
Diffstat (limited to 'modules/caddyhttp/reverseproxy/fastcgi')
-rw-r--r-- | modules/caddyhttp/reverseproxy/fastcgi/caddyfile.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/caddyhttp/reverseproxy/fastcgi/caddyfile.go b/modules/caddyhttp/reverseproxy/fastcgi/caddyfile.go index 4687e68..a24a3ed 100644 --- a/modules/caddyhttp/reverseproxy/fastcgi/caddyfile.go +++ b/modules/caddyhttp/reverseproxy/fastcgi/caddyfile.go @@ -373,6 +373,7 @@ func parsePHPFastCGI(h httpcaddyfile.Helper) ([]httpcaddyfile.ConfigValue, error // the rest of the config is specified by the user // using the reverse_proxy directive syntax + dispenser.Next() // consume the directive name err = rpHandler.UnmarshalCaddyfile(dispenser) if err != nil { return nil, err |