caddy/modules/caddyhttp/rewrite
Matthew Holt 0742530d3d
rewrite: Prepend "/" if missing from strip path prefix
Paths always begin with a slash, and omitting the leading slash could be
convenient to avoid confusion with a path matcher in the Caddyfile. I do
not think there would be any harm to implicitly add the leading slash.
2020-01-22 09:36:05 -07:00
..
caddyfile.go rewrite: Prepend "/" if missing from strip path prefix 2020-01-22 09:36:05 -07:00
rewrite_test.go rewrite: Make URI modifications more transactional (#2891) 2020-01-15 11:44:21 -07:00
rewrite.go httpcaddyfile: Fix nested blocks; add handle directive; refactor 2020-01-16 17:08:52 -07:00