caddy/caddyconfig/caddyfile
Francis Lavoie 7103ea096f
caddyfile: Fix case where heredoc marker is empty after newline (#5769)
Fixes `panic: runtime error: slice bounds out of range [:3] with capacity 2`

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
2023-08-24 03:27:57 +00: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_test.go Make file modes consistent 2022-04-21 15:06:55 -06:00
dispenser.go caddyfile: Adjust error formatting (#5765) 2023-08-20 08:51:03 -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
formatter.go Fix #4169 (correct e6c58fd) 2022-09-15 14:13:58 -06:00
importargs.go ci: use gci linter (#5708) 2023-08-14 09:41:15 -06:00
importgraph.go ci: Use gofumpt to format code (#5707) 2023-08-07 19:40:31 +00:00
lexer_fuzz.go core: Windows service integration (#4790) 2022-07-29 14:06:54 -06:00
lexer_test.go caddyfile: Fix case where heredoc marker is empty after newline (#5769) 2023-08-24 03:27:57 +00:00
lexer.go caddyfile: Fix case where heredoc marker is empty after newline (#5769) 2023-08-24 03:27:57 +00:00
parse_test.go caddyfile: check that matched key is not a substring of the replacement key (#5685) 2023-08-04 10:44:38 -06:00
parse.go ci: use gci linter (#5708) 2023-08-14 09:41:15 -06:00