1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00
caddy/modules/caddyhttp/fileserver
Matthew Holt 4bd9496525
Fix Schrodinger's file existence check in file matcher
See: https://stackoverflow.com/a/12518877/1048862

For example, trying to check the existence of "/www/index.php/index.php"
fails but not with an os.IsNotExist()-type error. So we have to assume
that a file that cannot be successfully stat'ed at all does not exist.
2019-09-06 12:57:12 -06:00
..
browse.go Part 1: Optimize using compiler's inliner (#2687) 2019-08-07 23:59:02 -06:00
browse_test.go Part 1: Optimize using compiler's inliner (#2687) 2019-08-07 23:59:02 -06:00
browselisting.go go.mod: Append /v2 to module name; update all import paths 2019-07-02 12:37:06 -06:00
browsetpl.go Add license 2019-06-30 16:07:58 -06:00
caddyfile.go Various fixes/tweaks to HTTP placeholder variables and file matching 2019-09-06 12:36:45 -06:00
matcher.go Fix Schrodinger's file existence check in file matcher 2019-09-06 12:57:12 -06:00
staticfiles.go Various fixes/tweaks to HTTP placeholder variables and file matching 2019-09-06 12:36:45 -06:00
staticfiles_test.go Add license 2019-06-30 16:07:58 -06:00