Repository navigation
fix(deps): update module github.com/labstack/echo/v4 to v4.16.6 - #75
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
renovate
Bot
force-pushed
the
renovate/github.com-labstack-echo-v4-4.x
branch
from
November 15, 2026 07:36
a43d1d4 to
e500577
Compare
renovate
Bot
force-pushed
the
renovate/github.com-labstack-echo-v4-4.x
branch
from
November 20, 2026 20:00
e500577 to
d2dc116
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v4.16.3→v4.16.6Release Notes
labstack/echo (github.com/labstack/echo/v4)
v4.16.6Compare Source
Security
.or..path segment (also encoded as%2e) was resolved byRewrite/RegexRewriteor by the upstream into a path the router never matched, bypassing route and group middleware such as authentication. After routing, Proxy now returns400 Bad Requestfor such paths, and rewrite targets in Proxy and the Rewrite middleware are applied literally instead of being resolved; a target with a dot segment or a leading//is rejected. Fixes GHSA-w5j2-g3fc-pwr6. Reported by AndyAnh174.Static,StaticFS,Group.StaticandGroup.StaticFSwith a prefix without a trailing slash registeredprefix*, so/assetsadmin/private.txtwas served from<root>/admin/private.txtfore.Static("/assets", root), bypassing a guard on/assets/admin. They now registerprefix/*, plusprefixfor the redirect toprefix/. Fixes GHSA-76qj-xf66-r429. Reported by AndyAnh174.middleware.Staticattached withGroup#Useis not protected by guards on routes inside the group or on nested groups, and thatGroup#Staticshould be used for files behind such guards. See GHSA-5hp7-4fcm-57f9. Reported by AndyAnh174.Behavior changes
./..segments, and a Rewrite middleware attached after routing applies its targets literally: relative targets and absolute URLs are rejected.Echo#Preis unchanged.StaticandStaticFSreturn the route forprefix/*instead ofprefix*, and file names that only start with the prefix are no longer served.No public API, dependency or minimum Go-version changes; Go 1.26 or later remains required.
v4.16.5Compare Source
Security
X-Forwarded-Protofrom the upstream request by naming it in theConnectionheader, on plain HTTP requests and WebSocket upgrades. The proxy now setsX-Forwarded-Protoagain after Go removes hop-by-hop headers, as it already does forX-Real-IP. Fixes GHSA-h6x5-phvw-c55c. Reported by zachary-satterly.Behavior change
A custom balancer that replaces the request and sets its own
X-Forwarded-Protono longer reaches the upstream with that value; the proxy uses the scheme of the original request. A customProxyConfig.Transportcan still set the header.No public API, dependency or minimum Go-version changes; Go 1.26 or later remains required.
v4.16.4Compare Source
Security
HTTPSRedirect,HTTPSWWWRedirect,HTTPSNonWWWRedirect,WWWRedirectandNonWWWRedirectnow return400 Bad Requestinstead of redirecting when the host is empty, starts with:or., contains%, or is empty after removingwww.. Before this change, such hosts could produce an open redirect. The middleware no longer redirectsOPTIONS *requests, mapswsandwsstohttpandhttpsin redirect targets, and matches thewww.prefix case-insensitively. Fixes GHSA-3f6j-cw5h-qw9c (#3217) in #3224.Fixes
AddTrailingSlashandRemoveTrailingSlashkeep escaped path segments such as%2Fin redirect and forward targets, so the request still matches its original route. Fixes #3206 in #3225.ExtractIPFromXFFHeaderandExtractIPFromRealIPHeadertrust zoned link-local proxy peers such as[fe80::1%eth0]:8080, with or without a port. Fixes #3179 in #3226.BindHeadersno longer panics on nil or empty header value slices. Fixes #3169 in #3227.Behavior changes
Context.RealIP()andExtractIPDirect()now return a zoned link-local peer without its zone:fe80::1, notfe80::1%eth0. Update logs, allowlists or rate-limit keys that store the zoned form.HTTPSWWWRedirectkeeps its v4 behavior: it does not redirect plain HTTP requests for hosts that already start withwww.. v5 redirects these requests.No public API, dependency or minimum Go-version changes; Go 1.26 or later remains required.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.