aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/caddyhttp/routes.go
diff options
context:
space:
mode:
authorMatthew Holt <[email protected]>2019-12-17 10:14:04 -0700
committerMatthew Holt <[email protected]>2019-12-17 10:14:04 -0700
commitdae4913fe35ff3f8a97383061ea8d44c1e98279e (patch)
tree5d6cd9453b225fbdb3fc86d815d4d7560bca6ea5 /modules/caddyhttp/routes.go
parent6455efa5d327377b41e708a063d1b7a71a131165 (diff)
downloadcaddy-dae4913fe35ff3f8a97383061ea8d44c1e98279e.tar.gz
caddy-dae4913fe35ff3f8a97383061ea8d44c1e98279e.zip
http: Patch path matcher to ignore dots and spaces (#2917)
(Try saying "patch path match" ten times fast)
Diffstat (limited to 'modules/caddyhttp/routes.go')
-rw-r--r--modules/caddyhttp/routes.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/routes.go b/modules/caddyhttp/routes.go
index 0dce990d5..9b2f84922 100644
--- a/modules/caddyhttp/routes.go
+++ b/modules/caddyhttp/routes.go
@@ -115,7 +115,7 @@ func (routes RouteList) Provision(ctx caddy.Context) error {
// matchers
matchersIface, err := ctx.LoadModule(&route, "MatcherSetsRaw")
if err != nil {
- return fmt.Errorf("loadng matchers in route %d: %v", i, err)
+ return fmt.Errorf("loading matchers in route %d: %v", i, err)
}
err = routes[i].MatcherSets.FromInterface(matchersIface)
if err != nil {