caddy/modules/caddyhttp/fileserver
Matthew Holt 3860b235d0
fileserver: Don't assume len(str) == len(ToLower(str)) (fix #3623)
We can't use a positional index on an original string that we got from
its lower-cased equivalent. Implement our own IndexFold() function b/c
the std lib does not have one.
2020-07-31 13:55:01 -06:00
..
testdata caddyhttp: Add split_path to file matcher (used by php_fastcgi) (#3302) 2020-04-27 14:46:46 -06:00
browse.go fileserver: Enable browse pagination with offset parameter (#3542) 2020-07-08 23:56:15 -06:00
browse_test.go Part 1: Optimize using compiler's inliner (#2687) 2019-08-07 23:59:02 -06:00
browselisting.go fileserver: Enable browse pagination with offset parameter (#3542) 2020-07-08 23:56:15 -06:00
browsetpl.go fileserver: Enable browse pagination with offset parameter (#3542) 2020-07-08 23:56:15 -06:00
caddyfile.go chore: make the linter happier (#3245) 2020-04-08 15:31:51 -06:00
command.go cmd: file-server: add --access-log flag (#3454) 2020-05-26 15:04:04 -06:00
matcher.go fileserver: Don't assume len(str) == len(ToLower(str)) (fix #3623) 2020-07-31 13:55:01 -06:00
matcher_test.go fileserver: Don't assume len(str) == len(ToLower(str)) (fix #3623) 2020-07-31 13:55:01 -06:00
staticfiles.go Export Replacer and use concrete type instead of interface 2019-12-29 13:12:52 -07:00
staticfiles_test.go v2: Make tests work on Windows (#2782) 2019-10-15 16:05:53 -06:00