mirror of
https://github.com/caddyserver/caddy.git
synced 2025-10-19 15:53:17 +00:00
http: Patch path matcher to ignore dots and spaces (#2917)
(Try saying "patch path match" ten times fast)
This commit is contained in:
parent
6455efa5d3
commit
dae4913fe3
4 changed files with 23 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue