summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/headers
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2020-07-31 13:55:01 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2020-07-31 13:55:01 -0600
commit3860b235d074209c495d34a3966fc7fb2d5015a5 (patch)
tree444621ef8c11e2445a81e3d01b09285e476862fb /modules/caddyhttp/headers
parent6f73a358f43013a43c55d57f0c7726a6277f62b6 (diff)
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.
Diffstat (limited to 'modules/caddyhttp/headers')
0 files changed, 0 insertions, 0 deletions