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. |
||
|---|---|---|
| .. | ||
| caddyfile.go | ||
| rewrite.go | ||
| rewrite_test.go | ||