diff options
author | Francis Lavoie <lavofr@gmail.com> | 2020-05-05 14:32:12 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-05 12:32:12 -0600 |
commit | 96d6d277a453a602b9ec49131d8e332ce7aefcad (patch) | |
tree | 6e34311edcc3c82b7c9436d145a122fba7b65258 /caddyconfig/httpcaddyfile/directives.go | |
parent | 26e559662d677062874afed9775f660f1f5f9c1e (diff) |
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
Diffstat (limited to 'caddyconfig/httpcaddyfile/directives.go')
0 files changed, 0 insertions, 0 deletions