caddy/modules/caddyhttp
Matt Holt 4bf6cb4199
fileserver: Reject ADS and short name paths; trim trailing dots and spaces on Windows (#5148)
* fileserver: Reject ADS and short name paths

* caddyhttp: Trim trailing space and dot on Windows

Windows ignores trailing dots and spaces in filenames.

* Fix test

* Adjust path filters

* Revert Windows test

* Actually revert the test

* Just check for colons
2022-10-18 21:55:25 -06:00
..
caddyauth core: Variadic Context.Logger(); soft deprecation 2022-09-16 16:55:36 -06:00
encode encode: don't WriteHeader unless called (#5060) 2022-09-21 08:30:42 -06:00
fileserver fileserver: Reject ADS and short name paths; trim trailing dots and spaces on Windows (#5148) 2022-10-18 21:55:25 -06:00
headers reverseproxy: On 103 don't delete own headers (#5091) 2022-09-29 08:19:56 -06:00
map map: Clarified how destination values should be formatted (#5156) 2022-10-18 18:14:53 -06:00
push core: Variadic Context.Logger(); soft deprecation 2022-09-16 16:55:36 -06:00
requestbody
reverseproxy caddytest: Revise sleep durations 2022-10-05 11:40:41 -06:00
rewrite rewrite: Only trim prefix if matched 2022-09-28 00:13:12 -06:00
standard
templates docs: Fix templates documentation, stray newline breaks godoc (#5149) 2022-10-16 12:25:44 -04:00
tracing core: Variadic Context.Logger(); soft deprecation 2022-09-16 16:55:36 -06:00
app.go httpcaddyfile: Wrap site block in subroute if host matcher used (#5130) 2022-10-12 09:27:08 -06:00
autohttps.go caddyhttp: Skip inserting HTTP->HTTPS redir if catch-all for both exist (#5051) 2022-09-19 22:11:19 -06:00
caddyhttp.go caddyhttp: Smarter path matching and rewriting (#4948) 2022-08-16 08:48:57 -06:00
caddyhttp_test.go fileserver: Reject ADS and short name paths; trim trailing dots and spaces on Windows (#5148) 2022-10-18 21:55:25 -06:00
celmatcher.go core: Variadic Context.Logger(); soft deprecation 2022-09-16 16:55:36 -06:00
celmatcher_test.go Expose several Caddy HTTP Matchers to the CEL Matcher (#4715) 2022-06-22 18:53:46 -04:00
errors.go
httpredirectlistener.go
logging.go caddyhttp: Add 'skip_log' var to omit request from logs (#4691) 2022-09-15 10:05:36 -06:00
marshalers.go
matchers.go core: Refactor and improve listener logic (#5089) 2022-09-28 13:35:51 -06:00
matchers_test.go caddyhttp: Smarter path matching and rewriting (#4948) 2022-08-16 08:48:57 -06:00
metrics.go caddyhttp: Make metrics opt-in (#5042) 2022-09-16 13:32:49 -06:00
metrics_test.go
replacer.go caddyhttp: Remote IP prefix placeholders 2022-09-30 13:29:33 -06:00
replacer_test.go caddyhttp: Remote IP prefix placeholders 2022-09-30 13:29:33 -06:00
responsematchers.go
responsematchers_test.go
responsewriter.go Tweak some comments 2022-09-21 12:59:44 -06:00
responsewriter_test.go caddyhttp: ensure ResponseWriterWrapper and ResponseRecorder use ReadFrom if the underlying response writer implements it. (#5022) 2022-09-07 21:13:35 +01:00
routes.go caddyhttp: Make metrics opt-in (#5042) 2022-09-16 13:32:49 -06:00
server.go httpcaddyfile: Improve detection of indistinguishable TLS automation policies (#5120) 2022-10-13 11:30:57 -06:00
staticerror.go
staticresp.go caddyhttp: Add --debug flag to commands 2022-09-15 23:10:16 -06:00
staticresp_test.go
subroute.go
vars.go caddyhttp: Accept placeholders in vars matcher key 2022-09-01 16:49:18 -06:00