diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2022-01-18 20:42:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-18 20:42:25 +0100 |
commit | 61d56f26f8813c6c618e162943bdbd61b8cb6f33 (patch) | |
tree | 22eb826c388692dc9eae8278b85de463aea7fef9 /vendor/github.com/labstack/echo/v4/router.go | |
parent | 6aa05b39810bef5b5cf21cb2abd02012ce727574 (diff) | |
download | matterbridge-msglm-61d56f26f8813c6c618e162943bdbd61b8cb6f33.tar.gz matterbridge-msglm-61d56f26f8813c6c618e162943bdbd61b8cb6f33.tar.bz2 matterbridge-msglm-61d56f26f8813c6c618e162943bdbd61b8cb6f33.zip |
Bump github.com/labstack/echo/v4 from 4.6.1 to 4.6.3 (#1685)
Bumps [github.com/labstack/echo/v4](https://github.com/labstack/echo) from 4.6.1 to 4.6.3.
- [Release notes](https://github.com/labstack/echo/releases)
- [Changelog](https://github.com/labstack/echo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/labstack/echo/compare/v4.6.1...v4.6.3)
---
updated-dependencies:
- dependency-name: github.com/labstack/echo/v4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Diffstat (limited to 'vendor/github.com/labstack/echo/v4/router.go')
-rw-r--r-- | vendor/github.com/labstack/echo/v4/router.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/github.com/labstack/echo/v4/router.go b/vendor/github.com/labstack/echo/v4/router.go index a8277c8b..dc93e29c 100644 --- a/vendor/github.com/labstack/echo/v4/router.go +++ b/vendor/github.com/labstack/echo/v4/router.go @@ -99,6 +99,9 @@ func (r *Router) Add(method, path string, h HandlerFunc) { for i, lcpIndex := 0, len(path); i < lcpIndex; i++ { if path[i] == ':' { if i > 0 && path[i-1] == '\\' { + path = path[:i-1] + path[i:] + i-- + lcpIndex-- continue } j := i + 1 |