René's URL Explorer Experiment


Title: fix(middleware): prevent BodyLimit bypass with contract-compliant readers by istoolsfox · Pull Request #3087 · labstack/echo · GitHub

Open Graph Title: fix(middleware): prevent BodyLimit bypass with contract-compliant readers by istoolsfox · Pull Request #3087 · labstack/echo

X Title: fix(middleware): prevent BodyLimit bypass with contract-compliant readers by istoolsfox · Pull Request #3087 · labstack/echo

Description: High performance, minimalist Go web framework. Contribute to labstack/echo development by creating an account on GitHub.

Open Graph Description: Problem With unknown Content-Length, BodyLimit forwarded an unbounded read to the underlying body. A caller that processes the returned n > 0 bytes could receive more than the configured limit. ...

X Description: Problem With unknown Content-Length, BodyLimit forwarded an unbounded read to the underlying body. A caller that processes the returned n > 0 bytes could receive more than the configured lim...

Opengraph URL: https://github.com/labstack/echo/pull/3087

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:019e6495-8368-d0bd-1c74-270cd205b45a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9CB2:283776:45BA8F:5D9A17:6B002C46
html-safe-noncef76a1051878ceab40951b96cd472f207a427df961f071316300236228820d0e1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Q0IyOjI4Mzc3Njo0NUJBOEY6NUQ5QTE3OjZCMDAyQzQ2IiwidmlzaXRvcl9pZCI6IjE5NDQxMTM0ODY1ODU5MzI4NzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac040e8aeecbae5f4cc1172c40548bdb3d26f19d4af3fbe7519653989233285916
hovercard-subject-tagpull_request:4456034151
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/labstack/echo/3087/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/89551413d1f9aa65fbec86697af56136e1ecc03dda1666633bd3f25ee9c0beaa/labstack/echo/pull/3087
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/89551413d1f9aa65fbec86697af56136e1ecc03dda1666633bd3f25ee9c0beaa/labstack/echo/pull/3087
og:image:altProblem With unknown Content-Length, BodyLimit forwarded an unbounded read to the underlying body. A caller that processes the returned n > 0 bytes could receive more than the configured limit. ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameistoolsfox
hostnamegithub.com
expected-hostnamegithub.com
None7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0
turbo-cache-controlno-cache
go-importgithub.com/labstack/echo git https://github.com/labstack/echo.git
octolytics-dimension-user_id2624634
octolytics-dimension-user_loginlabstack
octolytics-dimension-repository_id31504491
octolytics-dimension-repository_nwolabstack/echo
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31504491
octolytics-dimension-repository_network_root_nwolabstack/echo
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef3f3a43ca095cdea3abbb394112e971f9fdb94fa
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/labstack/echo/pull/3087#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flabstack%2Fecho%2Fpull%2F3087
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flabstack%2Fecho%2Fpull%2F3087
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=labstack%2Fecho
Reloadhttps://github.com/labstack/echo/pull/3087
Reloadhttps://github.com/labstack/echo/pull/3087
Reloadhttps://github.com/labstack/echo/pull/3087
labstackhttps://github.com/labstack
echohttps://github.com/labstack/echo
Codehttps://github.com/labstack/echo
Issues10 (10)https://github.com/labstack/echo/issues
Pull requests72 (72)https://github.com/labstack/echo/pulls
Discussionshttps://github.com/labstack/echo/discussions
Actionshttps://github.com/labstack/echo/actions
Projectshttps://github.com/labstack/echo/projects
Wikihttps://github.com/labstack/echo/wiki
Security and quality21 (21)https://github.com/labstack/echo/security
Insightshttps://github.com/labstack/echo/insights
https://github.com/labstack/echo
vishrhttps://github.com/vishr
labstack:masterhttps://github.com/labstack/echo/tree/master
istoolsfox:fix/body-limit-bypasshttps://github.com/istoolsfox/echo/tree/fix/body-limit-bypass
Conversationhttps://github.com/labstack/echo/pull/3087
Commits3 (3)https://github.com/labstack/echo/pull/3087/commits
Checkshttps://github.com/labstack/echo/pull/3087/checks
Files changedhttps://github.com/labstack/echo/pull/3087/files
fix(middleware): prevent BodyLimit bypass with contract-compliant readershttps://github.com/labstack/echo/pull/3087#top
vishrhttps://github.com/vishr
labstack:masterhttps://github.com/labstack/echo/tree/master
istoolsfox:fix/body-limit-bypasshttps://github.com/istoolsfox/echo/tree/fix/body-limit-bypass
https://github.com/istoolsfox
istoolsfoxhttps://github.com/istoolsfox
Sep 6, 2026https://github.com/labstack/echo/pull/3087#issue-5364832633
Please reload this pagehttps://github.com/labstack/echo/pull/3087
#3071https://github.com/labstack/echo/issues/3071
#3071https://github.com/labstack/echo/issues/3071
Please reload this pagehttps://github.com/labstack/echo/pull/3087
https://github.com/istoolsfox
fix(middleware): prevent BodyLimit bypass with contract-compliant rea…https://github.com/labstack/echo/pull/3087/commits/a5c939f1b0fd3fcb20747354127cfba1fa0d16f4
a5c939fhttps://github.com/labstack/echo/pull/3087/commits/a5c939f1b0fd3fcb20747354127cfba1fa0d16f4
https://github.com/januththedev
januththedevhttps://github.com/januththedev
Sep 28, 2026 https://github.com/labstack/echo/pull/3087#ref-pullrequest-5611018183
Preserve the query string on the static directory redirect #3123 https://github.com/labstack/echo/pull/3123
https://github.com/vishr
vishrhttps://github.com/vishr
bug https://github.com/labstack/echo/issues?q=state%3Aopen%20label%3Abug
middleware https://github.com/labstack/echo/issues?q=state%3Aopen%20label%3Amiddleware
v5 https://github.com/labstack/echo/issues?q=state%3Aopen%20label%3Av5
Sep 29, 2026https://github.com/labstack/echo/pull/3087#event-32106860311
https://github.com/vishr
fix(middleware): keep source read errors retryablehttps://github.com/labstack/echo/pull/3087/commits/89913836697e12a7bccfdebfa2f252fbeb0dfffa
8991383https://github.com/labstack/echo/pull/3087/commits/89913836697e12a7bccfdebfa2f252fbeb0dfffa
https://github.com/vishr
vishrhttps://github.com/vishr
Sep 29, 2026 https://github.com/labstack/echo/pull/3087#pullrequestreview-5357433082
View reviewed changes https://github.com/labstack/echo/pull/3087/files/89913836697e12a7bccfdebfa2f252fbeb0dfffa
middleware/body_limit.gohttps://github.com/labstack/echo/pull/3087/files/89913836697e12a7bccfdebfa2f252fbeb0dfffa#diff-b4b04f98e3314be9986ab3864fddecfa67825ce5e5378e48434b8d9bcab37871
vishrhttps://github.com/vishr
Sep 29, 2026https://github.com/labstack/echo/pull/3087#discussion_r4137523002
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/labstack/echo/pull/3087
https://github.com/vishr
vishrhttps://github.com/vishr
Sep 29, 2026 https://github.com/labstack/echo/pull/3087#pullrequestreview-5357433321
View reviewed changes https://github.com/labstack/echo/pull/3087/files/89913836697e12a7bccfdebfa2f252fbeb0dfffa
middleware/body_limit.gohttps://github.com/labstack/echo/pull/3087/files/89913836697e12a7bccfdebfa2f252fbeb0dfffa#diff-b4b04f98e3314be9986ab3864fddecfa67825ce5e5378e48434b8d9bcab37871
vishrhttps://github.com/vishr
Sep 29, 2026https://github.com/labstack/echo/pull/3087#discussion_r4137523231
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/labstack/echo/pull/3087
https://github.com/vishr
vishrhttps://github.com/vishr
Sep 29, 2026 https://github.com/labstack/echo/pull/3087#pullrequestreview-5357433564
View reviewed changes https://github.com/labstack/echo/pull/3087/files/89913836697e12a7bccfdebfa2f252fbeb0dfffa
middleware/body_limit.gohttps://github.com/labstack/echo/pull/3087/files/89913836697e12a7bccfdebfa2f252fbeb0dfffa#diff-b4b04f98e3314be9986ab3864fddecfa67825ce5e5378e48434b8d9bcab37871
vishrhttps://github.com/vishr
Sep 29, 2026https://github.com/labstack/echo/pull/3087#discussion_r4137523425
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/labstack/echo/pull/3087
https://github.com/vishr
vishrhttps://github.com/vishr
Sep 29, 2026 https://github.com/labstack/echo/pull/3087#pullrequestreview-5357433748
View reviewed changes https://github.com/labstack/echo/pull/3087/files/89913836697e12a7bccfdebfa2f252fbeb0dfffa
middleware/body_limit.gohttps://github.com/labstack/echo/pull/3087/files/89913836697e12a7bccfdebfa2f252fbeb0dfffa#diff-b4b04f98e3314be9986ab3864fddecfa67825ce5e5378e48434b8d9bcab37871
vishrhttps://github.com/vishr
Sep 29, 2026https://github.com/labstack/echo/pull/3087#discussion_r4137523574
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/labstack/echo/pull/3087
https://github.com/vishr
vishrhttps://github.com/vishr
Sep 29, 2026 https://github.com/labstack/echo/pull/3087#pullrequestreview-5357433941
View reviewed changes https://github.com/labstack/echo/pull/3087/files/89913836697e12a7bccfdebfa2f252fbeb0dfffa
middleware/body_limit_test.gohttps://github.com/labstack/echo/pull/3087/files/89913836697e12a7bccfdebfa2f252fbeb0dfffa#diff-74e2a8bc83dab40190d5c84cfaed0f19ecfef8a8290be7bf208bbcd72e343c02
vishrhttps://github.com/vishr
Sep 29, 2026https://github.com/labstack/echo/pull/3087#discussion_r4137523714
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/labstack/echo/pull/3087
https://github.com/vishr
vishrhttps://github.com/vishr
Sep 29, 2026 https://github.com/labstack/echo/pull/3087#pullrequestreview-5357434983
View reviewed changes https://github.com/labstack/echo/pull/3087/files/89913836697e12a7bccfdebfa2f252fbeb0dfffa
middleware/body_limit_test.gohttps://github.com/labstack/echo/pull/3087/files/89913836697e12a7bccfdebfa2f252fbeb0dfffa#diff-74e2a8bc83dab40190d5c84cfaed0f19ecfef8a8290be7bf208bbcd72e343c02
vishrhttps://github.com/vishr
Sep 29, 2026https://github.com/labstack/echo/pull/3087#discussion_r4137524578
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/labstack/echo/pull/3087
https://github.com/vishr
fix(middleware): address BodyLimit review findingshttps://github.com/labstack/echo/pull/3087/commits/822fa72a24770bc2dee151db16a87fe9797dc065
822fa72https://github.com/labstack/echo/pull/3087/commits/822fa72a24770bc2dee151db16a87fe9797dc065
https://github.com/vishr
vishrhttps://github.com/vishr
b59b347https://github.com/labstack/echo/commit/b59b347c95f78066152782c21e3c315088b49c79
Sep 29, 2026https://github.com/labstack/echo/pull/3087#event-32109312084
Please reload this pagehttps://github.com/labstack/echo/pull/3087
fix(middleware): prevent BodyLimit bypass in v4 #3131 https://github.com/labstack/echo/pull/3131
middleware.BodyLimit: a single oversized Read can silently bypass the limit #3071 https://github.com/labstack/echo/issues/3071
https://github.com/istoolsfox
istoolsfoxhttps://github.com/istoolsfox
Sep 30, 2026https://github.com/labstack/echo/pull/3087#issuecomment-5902341437
@vishrhttps://github.com/vishr
Please reload this pagehttps://github.com/labstack/echo/pull/3087
https://github.co/hiddenchars
https://github.com/labstack/echo/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flabstack%2Fecho%2Fpull%2F3087
https://github.com/vishr
vishr https://github.com/vishr
https://github.com/labstack/echo/pull/3087/files/89913836697e12a7bccfdebfa2f252fbeb0dfffa
Please reload this pagehttps://github.com/labstack/echo/pull/3087
bug https://github.com/labstack/echo/issues?q=state%3Aopen%20label%3Abug
middleware https://github.com/labstack/echo/issues?q=state%3Aopen%20label%3Amiddleware
v5 https://github.com/labstack/echo/issues?q=state%3Aopen%20label%3Av5
Please reload this pagehttps://github.com/labstack/echo/pull/3087
https://github.com/istoolsfox
https://github.com/vishr
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.