René's URL Explorer Experiment


Title: fix: bound request body size on JSON API endpoints by BobbyHo · Pull Request #28048 · coder/coder · GitHub

Open Graph Title: fix: bound request body size on JSON API endpoints by BobbyHo · Pull Request #28048 · coder/coder

X Title: fix: bound request body size on JSON API endpoints by BobbyHo · Pull Request #28048 · coder/coder

Description: Secure environments for developers and their agents - fix: bound request body size on JSON API endpoints by BobbyHo · Pull Request #28048 · coder/coder

Open Graph Description: Summary httpapi.Read decoded request bodies with no size limit, so a single request could allocate memory without bound. This adds a 4 MiB default ceiling, leaves the endpoints that legitimately ne...

X Description: Summary httpapi.Read decoded request bodies with no size limit, so a single request could allocate memory without bound. This adds a 4 MiB default ceiling, leaves the endpoints that legitimately ne...

Opengraph URL: https://github.com/coder/coder/pull/28048

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4

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:288d6a09-66ca-6937-d44d-bd2cb7275471
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD956:241F93:CF5AA1:122F1A1:6B043E0D
html-safe-noncea2f55982fd1986bfee4cf9aeb7cc8ffc2759762fbcb4c08e6276cb05f8a0c3bd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTU2OjI0MUY5MzpDRjVBQTE6MTIyRjFBMTo2QjA0M0UwRCIsInZpc2l0b3JfaWQiOiIzODk1MzUwMTQwMjc3NjM2NjIxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca7c6418554bad3d2dff9fda9e1f42c903f96bd5d706ef18520813f21455a4ee5
hovercard-subject-tagpull_request:4258139077
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/coder/coder/28048/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/37c61f1f1545add7b913a051041a1e3c950aba9fcf2532d7d5ffba8c4283a51e/coder/coder/pull/28048
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/37c61f1f1545add7b913a051041a1e3c950aba9fcf2532d7d5ffba8c4283a51e/coder/coder/pull/28048
og:image:altSummary httpapi.Read decoded request bodies with no size limit, so a single request could allocate memory without bound. This adds a 4 MiB default ceiling, leaves the endpoints that legitimately ne...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameBobbyHo
hostnamegithub.com
expected-hostnamegithub.com
None9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64
turbo-cache-controlno-cache
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/coder
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
release06dc448a76fe4751ac1db26524aefa3aa3e889a8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/coder/coder/pull/28048#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F28048
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%2Fcoder%2Fcoder%2Fpull%2F28048
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=coder%2Fcoder
Reloadhttps://github.com/coder/coder/pull/28048
Reloadhttps://github.com/coder/coder/pull/28048
Reloadhttps://github.com/coder/coder/pull/28048
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues322 (322)https://github.com/coder/coder/issues
Pull requests473 (473)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
https://github.com/coder/coder
BobbyHohttps://github.com/BobbyHo
mainhttps://github.com/coder/coder/tree/main
coder-plat-463https://github.com/coder/coder/tree/coder-plat-463
Conversationhttps://github.com/coder/coder/pull/28048
Commits9 (9)https://github.com/coder/coder/pull/28048/commits
Checkshttps://github.com/coder/coder/pull/28048/checks
Files changedhttps://github.com/coder/coder/pull/28048/files
fix: bound request body size on JSON API endpointshttps://github.com/coder/coder/pull/28048#top
BobbyHohttps://github.com/BobbyHo
mainhttps://github.com/coder/coder/tree/main
coder-plat-463https://github.com/coder/coder/tree/coder-plat-463
https://github.com/BobbyHo
BobbyHohttps://github.com/BobbyHo
Aug 12, 2026https://github.com/coder/coder/pull/28048#issue-5126000756
Please reload this pagehttps://github.com/coder/coder/pull/28048
Please reload this pagehttps://github.com/coder/coder/pull/28048
https://github.com/BobbyHo
fix: bound request body size on JSON API endpointshttps://github.com/coder/coder/pull/28048/commits/8f74cc5a830a7a8184fb60a75421b9603e18a0b8
8f74cc5https://github.com/coder/coder/pull/28048/commits/8f74cc5a830a7a8184fb60a75421b9603e18a0b8
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
Aug 12, 2026https://github.com/coder/coder/pull/28048#issuecomment-5260779956
PLAT-463https://linear.app/codercom/issue/PLAT-463
Please reload this pagehttps://github.com/coder/coder/pull/28048
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 12, 2026https://github.com/coder/coder/pull/28048#issuecomment-5260780587
Please reload this pagehttps://github.com/coder/coder/pull/28048
docs/admin/integrations/prometheus.mdhttps://coder.com/docs/@coder-plat-463/admin/integrations/prometheus
docs/reference/api/enterprise.mdhttps://coder.com/docs/@coder-plat-463/reference/api/enterprise
docs/reference/api/files.mdhttps://coder.com/docs/@coder-plat-463/reference/api/files
docs/reference/api/schemas.mdhttps://coder.com/docs/@coder-plat-463/reference/api/schemas
docs/reference/api/tasks.mdhttps://coder.com/docs/@coder-plat-463/reference/api/tasks
Please reload this pagehttps://github.com/coder/coder/pull/28048
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
BobbyHohttps://github.com/BobbyHo
Aug 12, 2026https://github.com/coder/coder/pull/28048#event-29312647844
https://github.com/BobbyHo
BobbyHohttps://github.com/BobbyHo
Aug 12, 2026https://github.com/coder/coder/pull/28048#issuecomment-5260797796
Please reload this pagehttps://github.com/coder/coder/pull/28048
https://github.com/apps/coder-agents-review
coder-agents-reviewhttps://github.com/apps/coder-agents-review
Aug 12, 2026https://github.com/coder/coder/pull/28048#issuecomment-5260798160
Please reload this pagehttps://github.com/coder/coder/pull/28048
View chathttps://dev.coder.com/agents/d1c330a6-36b9-44cb-a7e3-04a040c21514
@BobbyHohttps://github.com/BobbyHo
Reviewhttps://github.com/coder/coder/pull/28048#pullrequestreview-4912277200
e9ee83a..8f74cc5https://github.com/coder/coder/compare/e9ee83af69bb3bd9b26589072b288a9d3ed7dee8...8f74cc5a830a7a8184fb60a75421b9603e18a0b8
Reviewhttps://github.com/coder/coder/pull/28048#pullrequestreview-4912277200
Coder Agentshttps://coder.com
Please reload this pagehttps://github.com/coder/coder/pull/28048
https://github.com/apps/coder-agents-review
coder-agents-reviewhttps://github.com/apps/coder-agents-review
Aug 12, 2026 https://github.com/coder/coder/pull/28048#pullrequestreview-4912277200
View reviewed changes https://github.com/coder/coder/pull/28048/files/8f74cc5a830a7a8184fb60a75421b9603e18a0b8
coder-agents-reviewhttps://github.com/apps/coder-agents-review
https://github.com/coder/coder/pull/28048#pullrequestreview-4912277200
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/28048
coderd/oauth2provider/registration.gohttps://github.com/coder/coder/pull/28048/files/8f74cc5a830a7a8184fb60a75421b9603e18a0b8#diff-775dcfdb8865d51df8aac08de8fab3f0cff8631920922affb5f3988e39cd98eb
Please reload this pagehttps://github.com/coder/coder/pull/28048
enterprise/coderd/scimroutes.gohttps://github.com/coder/coder/pull/28048/files/8f74cc5a830a7a8184fb60a75421b9603e18a0b8#diff-2bdddae931dc6fa38cb7ae915e90c600bd70d8ed83a02d029ad949dc377f78ca
Please reload this pagehttps://github.com/coder/coder/pull/28048
coderd/httpmw/prometheus.gohttps://github.com/coder/coder/pull/28048/files/8f74cc5a830a7a8184fb60a75421b9603e18a0b8#diff-24bc7b8ec340fc0a203573eb251a42bdeb67266ebc5ed89c55c5befc65f81fd1
Please reload this pagehttps://github.com/coder/coder/pull/28048
enterprise/coderd/scimroutes.gohttps://github.com/coder/coder/pull/28048/files/8f74cc5a830a7a8184fb60a75421b9603e18a0b8#diff-2bdddae931dc6fa38cb7ae915e90c600bd70d8ed83a02d029ad949dc377f78ca
Please reload this pagehttps://github.com/coder/coder/pull/28048
coderd/aitasks.gohttps://github.com/coder/coder/pull/28048/files/8f74cc5a830a7a8184fb60a75421b9603e18a0b8#diff-9283b09aa0af4c961d5d51112b4bb6af5bf6e0bbbed9df8ed8ee70ad558b170f
Please reload this pagehttps://github.com/coder/coder/pull/28048
coderd/oauth2provider/registration.gohttps://github.com/coder/coder/pull/28048/files/8f74cc5a830a7a8184fb60a75421b9603e18a0b8#diff-775dcfdb8865d51df8aac08de8fab3f0cff8631920922affb5f3988e39cd98eb
Please reload this pagehttps://github.com/coder/coder/pull/28048
coderd/oauth2provider/registration.gohttps://github.com/coder/coder/pull/28048/files/8f74cc5a830a7a8184fb60a75421b9603e18a0b8#diff-775dcfdb8865d51df8aac08de8fab3f0cff8631920922affb5f3988e39cd98eb
Please reload this pagehttps://github.com/coder/coder/pull/28048
enterprise/coderd/scimroutes.gohttps://github.com/coder/coder/pull/28048/files/8f74cc5a830a7a8184fb60a75421b9603e18a0b8#diff-2bdddae931dc6fa38cb7ae915e90c600bd70d8ed83a02d029ad949dc377f78ca
Please reload this pagehttps://github.com/coder/coder/pull/28048
enterprise/coderd/scimroutes.gohttps://github.com/coder/coder/pull/28048/files/8f74cc5a830a7a8184fb60a75421b9603e18a0b8#diff-2bdddae931dc6fa38cb7ae915e90c600bd70d8ed83a02d029ad949dc377f78ca
Please reload this pagehttps://github.com/coder/coder/pull/28048
scripts/rules.gohttps://github.com/coder/coder/pull/28048/files/8f74cc5a830a7a8184fb60a75421b9603e18a0b8#diff-300b813ff9a264b0efc124e6dbc0063717c78d65766a715b1efefd354f528af0
Please reload this pagehttps://github.com/coder/coder/pull/28048
BobbyHohttps://github.com/BobbyHo
August 11, 2026 20:16https://github.com/coder/coder/pull/28048#commits-pushed-0d57db5
https://github.com/BobbyHo
chore: tighten comments on request body limit test and lint rulehttps://github.com/coder/coder/pull/28048/commits/0d57db5de372365199b6c46dacc4d58d39f71400
0d57db5https://github.com/coder/coder/pull/28048/commits/0d57db5de372365199b6c46dacc4d58d39f71400
https://github.com/BobbyHo
fix: bound OAuth2 form bodies and order the SCIM bound after authhttps://github.com/coder/coder/pull/28048/commits/3887b3f88e296a42516352a53f8b9bb556b80824
3887b3fhttps://github.com/coder/coder/pull/28048/commits/3887b3f88e296a42516352a53f8b9bb556b80824
https://github.com/BobbyHo
BobbyHohttps://github.com/BobbyHo
Aug 12, 2026https://github.com/coder/coder/pull/28048#issuecomment-5269325231
3887b3fhttps://github.com/coder/coder/commit/3887b3f88e296a42516352a53f8b9bb556b80824
Please reload this pagehttps://github.com/coder/coder/pull/28048
https://github.com/BobbyHo
fix: pair the 413 body rejection with the limit it recordedhttps://github.com/coder/coder/pull/28048/commits/f562cdb6d132d021fdd777c9a24f7725180d5936
f562cdbhttps://github.com/coder/coder/pull/28048/commits/f562cdb6d132d021fdd777c9a24f7725180d5936
https://github.com/BobbyHo
BobbyHohttps://github.com/BobbyHo
Aug 12, 2026https://github.com/coder/coder/pull/28048#issuecomment-5270274950
f562cdbhttps://github.com/coder/coder/commit/f562cdb6d132d021fdd777c9a24f7725180d5936
3887b3fhttps://github.com/coder/coder/commit/3887b3f88e296a42516352a53f8b9bb556b80824
f562cdbhttps://github.com/coder/coder/commit/f562cdb6d132d021fdd777c9a24f7725180d5936
Please reload this pagehttps://github.com/coder/coder/pull/28048
BobbyHohttps://github.com/BobbyHo
August 12, 2026 10:58https://github.com/coder/coder/pull/28048#commits-pushed-0f314e6
https://github.com/BobbyHo
fix(coderd): expose the decoder text on the OAuth2 registration 400https://github.com/coder/coder/pull/28048/commits/0f314e6d759a11271e592cf68d7349a17ca875d7
0f314e6https://github.com/coder/coder/pull/28048/commits/0f314e6d759a11271e592cf68d7349a17ca875d7
https://github.com/BobbyHo
refactor(enterprise/coderd): share one RFC 7644 error writerhttps://github.com/coder/coder/pull/28048/commits/16a5131d8344652b362e2ced084e7f55461bd065
16a5131https://github.com/coder/coder/pull/28048/commits/16a5131d8344652b362e2ced084e7f55461bd065
https://github.com/BobbyHo
Merge branch 'main' into coder-plat-463https://github.com/coder/coder/pull/28048/commits/47209ce1796b28ad973f0d3282714ebe33bd0aff
47209cehttps://github.com/coder/coder/pull/28048/commits/47209ce1796b28ad973f0d3282714ebe33bd0aff
https://github.com/BobbyHo
docs: document the 413 on file uploadhttps://github.com/coder/coder/pull/28048/commits/e8f7465d4dd5561f3d95b54a0c91594f0d113191
e8f7465https://github.com/coder/coder/pull/28048/commits/e8f7465d4dd5561f3d95b54a0c91594f0d113191
https://github.com/BobbyHo
BobbyHohttps://github.com/BobbyHo
August 12, 2026 20:45https://github.com/coder/coder/pull/28048#event-29365072937
https://github.com/BobbyHo
Merge branch 'main' into coder-plat-463https://github.com/coder/coder/pull/28048/commits/14a0a194c6e6c9ffb10f005ab7cfd9a2d11fafa1
14a0a19https://github.com/coder/coder/pull/28048/commits/14a0a194c6e6c9ffb10f005ab7cfd9a2d11fafa1
https://github.com/BobbyHo
BobbyHohttps://github.com/BobbyHo
August 14, 2026 16:12https://github.com/coder/coder/pull/28048#event-29468833442
https://github.com/BobbyHo
BobbyHohttps://github.com/BobbyHo
Aug 14, 2026https://github.com/coder/coder/pull/28048#issuecomment-5295548646
Please reload this pagehttps://github.com/coder/coder/pull/28048
fix: bound request body size on JSON API endpoints #28168 https://github.com/coder/coder/pull/28168
fix: bound OAuth2 request bodies and report the rejection per RFC #28175 https://github.com/coder/coder/pull/28175
fix: bound SCIM request bodies and machine-check the invariant #28181 https://github.com/coder/coder/pull/28181
BobbyHohttps://github.com/BobbyHo
Aug 18, 2026 https://github.com/coder/coder/pull/28048#ref-commit-166d92b
https://github.com/BobbyHo
fix: bound request body size on JSON API endpoints (https://github.com/coder/coder/commit/166d92ba738d5a1803352c58ae0c708958932c36
#28168https://github.com/coder/coder/pull/28168
)https://github.com/coder/coder/commit/166d92ba738d5a1803352c58ae0c708958932c36
166d92bhttps://github.com/coder/coder/commit/166d92ba738d5a1803352c58ae0c708958932c36
#28048https://github.com/coder/coder/pull/28048
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/coder/coder/issues?q=state%3Aopen%20label%3Astale
Aug 29, 2026https://github.com/coder/coder/pull/28048#event-30193985644
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Sep 1, 2026https://github.com/coder/coder/pull/28048#event-30313197235
https://github.co/hiddenchars
https://github.com/coder/coder/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%2Fcoder%2Fcoder%2Fpull%2F28048
https://github.com/apps/coder-agents-review
coder-agents-review[bot] https://github.com/apps/coder-agents-review
https://github.com/coder/coder/pull/28048/files/8f74cc5a830a7a8184fb60a75421b9603e18a0b8
Please reload this pagehttps://github.com/coder/coder/pull/28048
https://github.com/BobbyHo
BobbyHo https://github.com/BobbyHo
stale https://github.com/coder/coder/issues?q=state%3Aopen%20label%3Astale
Please reload this pagehttps://github.com/coder/coder/pull/28048
https://github.com/BobbyHo
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.