0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00
caddy/caddyfile
Matthew Holt e60400a92e
caddyfile: Use full, absolute file path in token structs (fixes #1892)
When two Caddyfiles with the same name, but different paths, are
imported, it can cause a weird bug because isNewLine() returned false
when it should return true, since the files are actually different,
but it couldn't know that because only the base name was stored,
not the whole path.
2017-09-22 20:02:48 -06:00
..
testdata Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
dispenser.go Rename parse errors to errors during parsing (#1838) 2017-08-26 07:27:59 -06:00
dispenser_test.go Remove dead code, do struct alignment, simplify code 2016-10-25 19:19:54 +02:00
json.go Set host and port on address if specified via flag (fixes #888) 2016-06-20 18:25:42 -06:00
json_test.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
lexer.go Report error when loading the lexer 2016-08-17 17:17:26 -06:00
lexer_test.go Discard byte order mark (fix #962) 2016-07-27 12:48:49 -06:00
parse.go caddyfile: Use full, absolute file path in token structs (fixes #1892) 2017-09-22 20:02:48 -06:00
parse_test.go import: No need to error for no matches if using glob pattern 2016-09-22 11:07:37 -06:00