caddy/caddyconfig/caddyfile
WeidiDeng cee4441cb1
caddyfile: Do not replace import tokens if they are part of a snippet (#5539)
* fix variadic placeholder in imported file which also imports

* fix tests.

* skip replacing args when imported token may be part of a snippet
2023-05-22 15:36:55 -06:00
..
testdata caddyfile: Implement heredoc support (#5385) 2023-02-26 00:34:27 +00:00
adapter.go cmd: make `caddy fmt` hints more clear (#5378) 2023-02-16 16:34:12 -07:00
dispenser.go caddyfile: Implement heredoc support (#5385) 2023-02-26 00:34:27 +00:00
dispenser_test.go Make file modes consistent 2022-04-21 15:06:55 -06:00
formatter.go Fix #4169 (correct e6c58fd) 2022-09-15 14:13:58 -06:00
formatter_fuzz.go core: Windows service integration (#4790) 2022-07-29 14:06:54 -06:00
formatter_test.go caddyfile: Copy input before parsing (fix #4422) 2021-11-15 14:41:19 -07:00
importargs.go caddyfile: Implement variadics for import args placeholders (#5249) 2023-02-16 17:08:36 -07:00
importgraph.go caddyfile: reject cyclic imports (#4022) 2021-04-09 12:06:25 -06:00
lexer.go caddyfile: Fix heredoc fuzz crasher, drop trailing newline (#5404) 2023-02-26 16:56:48 -05:00
lexer_fuzz.go core: Windows service integration (#4790) 2022-07-29 14:06:54 -06:00
lexer_test.go caddyfile: Fix heredoc fuzz crasher, drop trailing newline (#5404) 2023-02-26 16:56:48 -05:00
parse.go caddyfile: Do not replace import tokens if they are part of a snippet (#5539) 2023-05-22 15:36:55 -06:00
parse_test.go caddyfile: Stricter parsing, error for brace on new line (#5505) 2023-04-20 18:43:51 +00:00