1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00
caddy/caddyconfig/caddyfile
Francis Lavoie d74913f871
caddyfile: Error on invalid site addresses containing comma (#4302)
Some users forget to use a comma between their site addresses. This is invalid (commas aren't a valid character in domains) and later parts of the code like certificate automation will try to use this otherwise, which doesn't make sense. Best to error as early as possible.

Example thread on the forums where this happened: https://caddy.community/t/simplify-caddyfile/13281/9
2021-08-23 11:26:07 -06:00
..
testdata caddyfile: reject cyclic imports (#4022) 2021-04-09 12:06:25 -06:00
adapter.go caddyfile: Normalize line endings before comparing fmt result (#4103) 2021-04-02 11:55:34 -06:00
dispenser.go caddyfile: keep error chain info in Dispenser.Errf (#4233) 2021-07-19 08:35:14 -06:00
dispenser_test.go caddyfile: keep error chain info in Dispenser.Errf (#4233) 2021-07-19 08:35:14 -06:00
formatter.go caddyfile: Fix caddy fmt nesting not decrementing (#4157) 2021-05-10 12:01:27 -06:00
formatter_fuzz.go fuzz: fix the FuzzFormat comparison (#4117) 2021-04-15 23:03:54 +00:00
formatter_test.go caddyfile: Fix caddy fmt nesting not decrementing (#4157) 2021-05-10 12:01:27 -06:00
importgraph.go caddyfile: reject cyclic imports (#4022) 2021-04-09 12:06:25 -06:00
lexer.go caddyfile: reject cyclic imports (#4022) 2021-04-09 12:06:25 -06:00
lexer_fuzz.go ci: fuzz: add 4 more fuzzing targets (#4105) 2021-04-08 11:45:19 -06:00
lexer_test.go caddyfile: Export Tokenize function for lexing (#3549) 2020-07-20 13:55:51 -06:00
parse.go caddyfile: Error on invalid site addresses containing comma (#4302) 2021-08-23 11:26:07 -06:00
parse_test.go caddyfile: Add parse error on site address with trailing { (#4163) 2021-05-12 16:18:44 -06:00