diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2020-07-31 13:55:01 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2020-07-31 13:55:01 -0600 |
commit | 3860b235d074209c495d34a3966fc7fb2d5015a5 (patch) | |
tree | 444621ef8c11e2445a81e3d01b09285e476862fb /modules/caddyhttp/rewrite | |
parent | 6f73a358f43013a43c55d57f0c7726a6277f62b6 (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/rewrite')
0 files changed, 0 insertions, 0 deletions