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 96d6d277a4
caddyconfig: Don't start comments in middle of tokens (#3267)
* caddyconfig: Only parse # as start of comment if preceded by space

* caddyconfig: Simplify # logic using len(val), add a test
2020-05-05 12:32:12 -06:00
..
testdata Implement config adapters and beginning of Caddyfile adapter 2019-08-09 12:05:47 -06:00
adapter.go caddytls: Refactor certificate selection policies (close #1575) 2020-04-01 20:49:35 -06:00
dispenser.go caddyfile: Refactor; NewFromNextSegment(); fix repeated matchers 2020-02-14 11:01:09 -07:00
dispenser_test.go caddyfile: Export NewTestDispenser() (close #2930) 2020-04-01 16:34:54 -06:00
formatter.go caddyconfig: Don't start comments in middle of tokens (#3267) 2020-05-05 12:32:12 -06:00
formatter_test.go caddyconfig: Don't start comments in middle of tokens (#3267) 2020-05-05 12:32:12 -06:00
lexer.go caddyconfig: Don't start comments in middle of tokens (#3267) 2020-05-05 12:32:12 -06:00
lexer_test.go caddyconfig: Don't start comments in middle of tokens (#3267) 2020-05-05 12:32:12 -06:00
parse.go caddyfile: expand environment variables within caddy files (#3082) 2020-02-26 16:06:34 -07:00
parse_test.go tests: Remove noisy logs 2020-04-06 10:41:42 -06:00