caddy/caddyconfig/caddyfile/testdata
Y.Horie d6d7511699
httpcaddyfile: Warn on importing empty file; skip dotfiles (#5320)
* httpcaddyfile: Change the parse rules when empty file or dotfile with a glob.

* Fixes #5295
* Empty file should just log a warning, and result in no tokens.
* The last segment of the path is '*', it should skip any dotfiles.
* The last segment of the path is '.*', it should read all dotfiles in a dir.

* httpcaddyfile: Regard empty files as import files which include only white space.
2023-01-21 10:22:36 -07:00
..
glob httpcaddyfile: Warn on importing empty file; skip dotfiles (#5320) 2023-01-21 10:22:36 -07:00
empty.txt httpcaddyfile: Warn on importing empty file; skip dotfiles (#5320) 2023-01-21 10:22:36 -07:00
import_args0.txt caddyfile: Add args on imports (#3423) 2020-06-01 10:43:06 -06:00
import_args1.txt caddyfile: Add args on imports (#3423) 2020-06-01 10:43:06 -06:00
import_glob0.txt Make file modes consistent 2022-04-21 15:06:55 -06:00
import_glob1.txt Make file modes consistent 2022-04-21 15:06:55 -06:00
import_glob2.txt Make file modes consistent 2022-04-21 15:06:55 -06:00
import_recursive0.txt caddyfile: reject cyclic imports (#4022) 2021-04-09 12:06:25 -06:00
import_recursive1.txt caddyfile: reject cyclic imports (#4022) 2021-04-09 12:06:25 -06:00
import_recursive2.txt caddyfile: reject cyclic imports (#4022) 2021-04-09 12:06:25 -06:00
import_recursive3.txt caddyfile: reject cyclic imports (#4022) 2021-04-09 12:06:25 -06:00
import_test1.txt Make file modes consistent 2022-04-21 15:06:55 -06:00
import_test2.txt Make file modes consistent 2022-04-21 15:06:55 -06:00
only_white_space.txt httpcaddyfile: Warn on importing empty file; skip dotfiles (#5320) 2023-01-21 10:22:36 -07:00