diff options
author | Y.Horie <u5.horie@gmail.com> | 2023-01-22 02:22:36 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-21 10:22:36 -0700 |
commit | d6d7511699f6a35e3246918023af5ba3bc2cbc67 (patch) | |
tree | e66396854c444346989408fafd73a27b6f2f38e2 /cmd | |
parent | 8d6870fd068aa3ea472a46f34d219f41703e2ddb (diff) |
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.
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions