caddy/modules/caddyhttp
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
..
caddyauth caddyauth: hash-password: Set bcrypt cost to 14 (#3580) 2020-07-17 12:20:53 -06:00
encode gzip: Use klauspost/gzip, an optimized gzip implementation 2020-04-01 14:09:57 -06:00
fileserver fileserver: Improve file hiding logic for directories and prefixes 2020-09-11 12:20:39 -06:00
headers push: Implement HTTP/2 server push (#3573) 2020-07-20 12:28:40 -06:00
map caddyhttp: Add 'map' handler (#3199) 2020-06-26 15:12:37 -06:00
push push: Implement HTTP/2 server push (#3573) 2020-07-20 12:28:40 -06:00
requestbody Remove some non-essential plugins from this repo (#2780) 2020-03-24 10:37:47 -06:00
reverseproxy reverseproxy: Add buffer_requests option to reverse_proxy directive (#3710) 2020-09-08 10:37:46 -06:00
rewrite httpcaddyfile: New handle_path directive (#3281) 2020-05-26 15:27:51 -06:00
standard push: Implement HTTP/2 server push (#3573) 2020-07-20 12:28:40 -06:00
templates admin,templates,core: Minor enhancements and error handling (#3607) 2020-07-31 16:54:18 -06:00
app.go caddyhttp: Wrap http.Server logging with zap (#3668) 2020-09-08 10:44:58 -06:00
autohttps.go caddytls: Add support for ZeroSSL; add Caddyfile support for issuers (#3633) 2020-08-11 08:58:06 -06:00
caddyhttp.go reverseproxy: Enable changing only the status code (close #2920) 2020-06-04 12:06:38 -06:00
celmatcher_test.go caddyhttp: Add support to resolve DN in CEL expression (#3608) 2020-07-31 15:06:30 -06:00
celmatcher.go caddyhttp: Add support to resolve DN in CEL expression (#3608) 2020-07-31 15:06:30 -06:00
errors.go http: Change routes to sequential matcher evaluation (#2967) 2020-01-09 10:00:13 -07:00
marshalers.go caddyhttp: Add TLS client cert info to logs (#3640) 2020-08-07 12:12:29 -06:00
matchers_test.go caddyhttp: Reorder some access log fields; add host matcher test case 2020-07-07 08:11:35 -06:00
matchers.go caddyhttp: Support placeholders in query matcher (#3521) 2020-06-26 15:14:47 -06:00
replacer_test.go caddyhttp: Corrected host label index check (fix #3502) 2020-06-30 11:43:01 -06:00
replacer.go caddyhttp: Add {http.request.body} placeholder 2020-07-16 19:25:37 -06:00
responsewriter.go caddyhttp: Fix trailers when recording responses (fixes #3236) 2020-04-22 11:10:13 -06:00
routes.go caddyhttp: Minor refactoring for preparing requests 2020-05-11 12:14:47 -06:00
server.go caddyhttp: Better host matching for logger names (fix #3488) (#3522) 2020-06-26 12:01:50 -06:00
staticerror.go Fix some godocs 2020-04-11 09:01:40 -06:00
staticresp_test.go Implement config adapters and beginning of Caddyfile adapter 2019-08-09 12:05:47 -06:00
staticresp.go caddyhttp: Default to error status if found in context 2020-06-04 10:32:01 -06:00
subroute.go reverseproxy: Enable changing only the status code (close #2920) 2020-06-04 12:06:38 -06:00
vars.go v2: Implement RegExp Vars Matcher (#2997) 2020-02-08 12:26:31 -07:00