summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/starlarkmw/internal
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2020-01-22 09:36:05 -0700
committerMatthew Holt <mholt@users.noreply.github.com>2020-01-22 09:36:05 -0700
commit0742530d3d8c602c5d42115606ae0e05b577f3e9 (patch)
tree67e468679b67df527e2cbb76950fc639553b7ea2 /modules/caddyhttp/starlarkmw/internal
parent6b6cd934d02476e3d71b85edbb0acf58cf299fec (diff)
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.
Diffstat (limited to 'modules/caddyhttp/starlarkmw/internal')
0 files changed, 0 insertions, 0 deletions