Repository navigation
fix(deps): update module github.com/labstack/echo/v5 to v5.4.7 - #29
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-v5-5.x
branch
from
November 15, 2026 07:38
3679bed to
c9de4fa
Compare
renovate
Bot
force-pushed
the
renovate/github.com-labstack-echo-v5-5.x
branch
from
November 20, 2026 20:02
c9de4fa to
bb2153e
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:
v5.4.4→v5.4.7Release Notes
labstack/echo (github.com/labstack/echo/v5)
v5.4.7Compare Source
Security
.or..path segment (also encoded as%2e) was resolved byRewrite/RegexRewriteor by the upstream into a path the router never matched.GET /api/x/../admin/usersmatched an unprotected/api/*proxy group but reached the upstream as/admin/users, skipping middleware such as authentication on/api/admin. 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.Fixes
string,[]stringoranyreturns an error instead of skipping the values, and named string types no longer panic. Fixes #3235 in #3238.Accept-Encodingquality values are honored (gzip;q=0refuses gzip,x-gzipis accepted, substrings such asnotgzipno longer match), and responses that already have aContent-Encoding, for example from a reverse proxy, are passed through instead of compressed twice. Also fixesWritereporting more bytes than given at theMinLengththreshold, a truncated stream when a handler only flushes, and staleContent-LengthandContent-Encodingheaders. Fixes #3232 and #2788 in #3239.Flushcommits an uncommitted response,WriteHeaderpasses 1xx informational codes (such as103 Early Hints) through without committing, and the built-in error handlers removeContent-Encoding,Content-LengthandContent-Dispositionbefore writing the error body. Fixes #3240, #3241 and #3242 in #3243.Behavior changes
./..segments, and a Rewrite middleware attached after routing (onEcho#Use, a group or a route) applies its targets literally: relative targets and absolute URLs are rejected.Echo#Preis unchanged.StaticandStaticFSreturn theRouteInfoofprefix/*instead ofprefix*, and file names that only start with the prefix (for example/img-logo.pngfore.Static("/img-", dir)) are no longer served.400 Bad Request.Content-Encodingitself is assumed to have encoded the body; the Gzip middleware no longer compresses it.HTTPErrorHandlers still need to clear staleContent-Encoding,Content-LengthandContent-Dispositionthemselves.No dependency or minimum Go-version changes.
v5.4.6Compare 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.
v5.4.5Compare 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 #3220.Fixes
AddTrailingSlashandRemoveTrailingSlashkeep escaped path segments such as%2Fin redirect and forward targets, so the request still matches its original route. Fixes #3206 in #3221.ExtractIPFromXFFHeaderandExtractIPFromRealIPHeadertrust zoned link-local proxy peers such as[fe80::1%eth0]:8080, with or without a port. Fixes #3179 in #3222.BindHeadersno longer panics on nil or empty header value slices. Fixes #3169 in #3223.Behavior change
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.No public API, dependency or minimum Go-version changes.
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.