caddy/modules
Matthew Holt 0ee4378227
fileserver: Improve file hiding logic for directories and prefixes
Now, a filename to hide that is specified without a path separator will
count as hidden if it appears in any component of the file path (not
only the last component); semantically, this means hiding a file by only
its name (without any part of a path) will hide both files and folders,
e.g. hiding ".git" will hide "/.git" and also "/.git/foo".

We also do prefix matching so that hiding "/.git" will hide "/.git"
and "/.git/foo" but not "/.gitignore".

The remaining logic is a globular match like before.
2020-09-11 12:20:39 -06:00
..
caddyhttp fileserver: Improve file hiding logic for directories and prefixes 2020-09-11 12:20:39 -06:00
caddypki caddypki: Add 'acme_server' Caddyfile directive 2020-06-03 09:59:36 -06:00
caddytls caddytls: Fix resolvers option of acme issuer (Caddyfile) 2020-09-09 10:21:59 -06:00
filestorage httpcaddyfile: Minor fixes to parsing storage options 2020-05-01 09:34:32 -06:00
logging logging: ⚠️ Deprecate logfmt encoder 2020-07-13 16:18:34 -06:00
standard chore: Rename file to be consistent 2020-07-11 17:53:33 -06:00