1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00
caddy/caddyconfig/caddyfile
Zaq? Wiedmann 3dcc34d341 caddyfile: advance cursor for claimed token in NewFromNextTokens() (#2971)
When we append a token to the new dispenser, we need to consume it in the parent, too; otherwise it gets scanned twice, which in this case messed up the nesting count which got decremented once too many times.
2020-01-09 20:48:15 -07:00
..
testdata Implement config adapters and beginning of Caddyfile adapter 2019-08-09 12:05:47 -06:00
adapter.go caddyfile: Preprocess env vars in {$THIS} format (#2963) 2020-01-09 09:40:16 -07:00
dispenser.go caddyfile: advance cursor for claimed token in NewFromNextTokens() (#2971) 2020-01-09 20:48:15 -07:00
dispenser_test.go caddyfile: fix replacing variables on imported files (#2970) 2020-01-09 19:34:22 -07:00
lexer.go v2: Make tests work on Windows (#2782) 2019-10-15 16:05:53 -06:00
lexer_test.go v2: Make tests work on Windows (#2782) 2019-10-15 16:05:53 -06:00
parse.go caddyfile: fix replacing variables on imported files (#2970) 2020-01-09 19:34:22 -07:00
parse_fuzz.go Add missing fuzzer (#2844) 2019-10-30 23:57:22 +03:00
parse_test.go caddyfile: fix replacing variables on imported files (#2970) 2020-01-09 19:34:22 -07:00