caddy/modules/caddyhttp/fileserver
deneb f98f449f05
templates: Add pathEscape template function and use it in file browser (#6278)
* use url.PathEscape in file-server browse template

- add `pathEscape` to c.tpl.Funcs, using `url.PathEscape`
- use `pathEscape` in browse.html in place of `replace`

* document `pathEscape`

* Remove unnecessary pipe of img src to `html`
2024-05-18 12:55:36 -06:00
..
testdata
browse.go
browse.html templates: Add pathEscape template function and use it in file browser (#6278) 2024-05-18 12:55:36 -06:00
browsetplcontext.go Fix typos (#6311) 2024-05-10 08:08:54 -06:00
browsetplcontext_test.go
caddyfile.go
command.go
matcher.go
matcher_test.go
staticfiles.go
staticfiles_test.go