Update vendored libs

This commit is contained in:
Wim
2021-05-03 23:45:03 +02:00
parent af77109a47
commit 2d52fe1c80
44 changed files with 428 additions and 1650 deletions

View File

@@ -72,9 +72,9 @@ func RewriteWithConfig(config RewriteConfig) echo.MiddlewareFunc {
return next(c)
}
req := c.Request()
// Set rewrite path and raw path
rewritePath(config.RegexRules, req)
if err := rewriteURL(config.RegexRules, c.Request()); err != nil {
return err
}
return next(c)
}
}