caddy/caddyfile
Matt Holt 64c18a7c6c
caddyfile: Fix errors caught by fuzzing (#2097)
* caddyfile: More robust parsing for 'import' (fixes #2096)

The fix for hanging involves limiting the number of wildcards in an
import pattern to just 1. Otherwise some patterns can expand to the
entire disk.

The other fix requires that the end string for an environment variable
expansion come after the start string.

* caddyfile: Fix more fuzzing errors
2018-04-03 11:54:32 -06:00
..
testdata Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
dispenser_test.go Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
dispenser.go Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
json_test.go Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
json.go Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
lexer_test.go Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
lexer.go Apply Apache license to all .go source files (closes #1865) 2017-09-22 23:56:58 -06:00
parse_test.go caddyfile: Fix errors caught by fuzzing (#2097) 2018-04-03 11:54:32 -06:00
parse.go caddyfile: Fix errors caught by fuzzing (#2097) 2018-04-03 11:54:32 -06:00