René's URL Explorer Experiment


Title: fix!: only trust x-forwarded-host from configured trusted proxies by geokat · Pull Request #26204 · coder/coder · GitHub

Open Graph Title: fix!: only trust x-forwarded-host from configured trusted proxies by geokat · Pull Request #26204 · coder/coder

X Title: fix!: only trust x-forwarded-host from configured trusted proxies by geokat · Pull Request #26204 · coder/coder

Description: Secure environments for developers and their agents - fix!: only trust x-forwarded-host from configured trusted proxies by geokat · Pull Request #26204 · coder/coder

Open Graph Description: Problem Subdomain app routing resolved the app identity from httpapi.RequestHost, which returns the client-supplied X-Forwarded-Host header verbatim, and no middleware validated or stripped it. Bec...

X Description: Problem Subdomain app routing resolved the app identity from httpapi.RequestHost, which returns the client-supplied X-Forwarded-Host header verbatim, and no middleware validated or stripped it. Bec...

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

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:ccfc776d-70ec-5613-6303-04b4d3f794fb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE716:2F4BD9:1B1A97F:23B6253:6B014BC3
html-safe-nonce6f6861f0ebc68999d1ded0600a7d7b155d0c848db22ef5aa211415c18e8ada1b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzE2OjJGNEJEOToxQjFBOTdGOjIzQjYyNTM6NkIwMTRCQzMiLCJ2aXNpdG9yX2lkIjoiNTU2NzU4MjM1ODczMzY0OTMyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac376f3401af73e66199ced12703f8e5715abb08abe68241b816e145783d02dfc0
hovercard-subject-tagpull_request:3835552368
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/26204/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/68476a8a217caaba821f3b11e06ecc1f8d5d167fb29cdfde2f7bb8d25cca8678/coder/coder/pull/26204
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/68476a8a217caaba821f3b11e06ecc1f8d5d167fb29cdfde2f7bb8d25cca8678/coder/coder/pull/26204
og:image:altProblem Subdomain app routing resolved the app identity from httpapi.RequestHost, which returns the client-supplied X-Forwarded-Host header verbatim, and no middleware validated or stripped it. Bec...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegeokat
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/coder/coder/pull/26204#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F26204
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%2F26204
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/26204
Reloadhttps://github.com/coder/coder/pull/26204
Reloadhttps://github.com/coder/coder/pull/26204
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests469 (469)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
geokathttps://github.com/geokat
mainhttps://github.com/coder/coder/tree/main
george/plat-259/only-trust-x-forwarded-host-from-trusted-proxieshttps://github.com/coder/coder/tree/george/plat-259/only-trust-x-forwarded-host-from-trusted-proxies
Conversationhttps://github.com/coder/coder/pull/26204
Commits3 (3)https://github.com/coder/coder/pull/26204/commits
Checkshttps://github.com/coder/coder/pull/26204/checks
Files changedhttps://github.com/coder/coder/pull/26204/files
fix!: only trust x-forwarded-host from configured trusted proxieshttps://github.com/coder/coder/pull/26204#top
geokathttps://github.com/geokat
mainhttps://github.com/coder/coder/tree/main
george/plat-259/only-trust-x-forwarded-host-from-trusted-proxieshttps://github.com/coder/coder/tree/george/plat-259/only-trust-x-forwarded-host-from-trusted-proxies
https://github.com/geokat
geokathttps://github.com/geokat
Jun 10, 2026https://github.com/coder/coder/pull/26204#issue-4626691712
Please reload this pagehttps://github.com/coder/coder/pull/26204
https://linear.app/codercom/issue/PLAT-259https://linear.app/codercom/issue/PLAT-259
Please reload this pagehttps://github.com/coder/coder/pull/26204
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
Jun 10, 2026https://github.com/coder/coder/pull/26204#issuecomment-4665242546
PLAT-259https://linear.app/codercom/issue/PLAT-259
Please reload this pagehttps://github.com/coder/coder/pull/26204
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
geokathttps://github.com/geokat
Jun 10, 2026https://github.com/coder/coder/pull/26204#event-26548812969
https://github.com/geokat
geokathttps://github.com/geokat
force-pushedhttps://github.com/coder/coder/compare/350bd4386c0c16b8e9d814616b621ef1c69fe985..3cf4d6cdeea91314dfc48eb2f9b4dc02a91fb791
350bd43https://github.com/coder/coder/commit/350bd4386c0c16b8e9d814616b621ef1c69fe985
3cf4d6chttps://github.com/coder/coder/commit/3cf4d6cdeea91314dfc48eb2f9b4dc02a91fb791
Compare https://github.com/coder/coder/compare/350bd4386c0c16b8e9d814616b621ef1c69fe985..3cf4d6cdeea91314dfc48eb2f9b4dc02a91fb791
June 10, 2026 17:01https://github.com/coder/coder/pull/26204#event-26585603660
https://github.com/geokat
fix: only trust X-Forwarded-Host from configured trusted proxieshttps://github.com/coder/coder/pull/26204/commits/83fd965c1554bec8c0eb5590f156b9cbd250c6d2
83fd965https://github.com/coder/coder/pull/26204/commits/83fd965c1554bec8c0eb5590f156b9cbd250c6d2
https://linear.app/codercom/issue/PLAT-259https://linear.app/codercom/issue/PLAT-259
https://github.com/geokat
geokathttps://github.com/geokat
force-pushedhttps://github.com/coder/coder/compare/3cf4d6cdeea91314dfc48eb2f9b4dc02a91fb791..83fd965c1554bec8c0eb5590f156b9cbd250c6d2
3cf4d6chttps://github.com/coder/coder/commit/3cf4d6cdeea91314dfc48eb2f9b4dc02a91fb791
83fd965https://github.com/coder/coder/commit/83fd965c1554bec8c0eb5590f156b9cbd250c6d2
Compare https://github.com/coder/coder/compare/3cf4d6cdeea91314dfc48eb2f9b4dc02a91fb791..83fd965c1554bec8c0eb5590f156b9cbd250c6d2
June 10, 2026 17:08https://github.com/coder/coder/pull/26204#event-26585940038
https://github.com/geokat
geokathttps://github.com/geokat
Jun 10, 2026 https://github.com/coder/coder/pull/26204#pullrequestreview-4470038778
View reviewed changes https://github.com/coder/coder/pull/26204/files/83fd965c1554bec8c0eb5590f156b9cbd250c6d2
enterprise/wsproxy/wsproxy.gohttps://github.com/coder/coder/pull/26204/files/83fd965c1554bec8c0eb5590f156b9cbd250c6d2#diff-627bffcbeb91b039d6790d9ca1fc56bce38dade8f3c23f171ea40514330c8d1c
geokathttps://github.com/geokat
Jun 10, 2026https://github.com/coder/coder/pull/26204#discussion_r3390181321
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/26204
https://github.com/geokat
geokathttps://github.com/geokat
June 10, 2026 17:23https://github.com/coder/coder/pull/26204#event-26586549308
https://github.com/geokat
geokathttps://github.com/geokat
johnstcnhttps://github.com/johnstcn
June 10, 2026 17:23https://github.com/coder/coder/pull/26204#event-26586557916
https://github.com/apps/coderagents
coderagentshttps://github.com/apps/coderagents
Jun 10, 2026https://github.com/coder/coder/pull/26204#issuecomment-4672682761
Please reload this pagehttps://github.com/coder/coder/pull/26204
Coder Agentshttps://coder.com/docs/ai-coder/agents
Please reload this pagehttps://github.com/coder/coder/pull/26204
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jun 10, 2026https://github.com/coder/coder/pull/26204#issuecomment-4673080280
📖 View docs previewhttps://coder.com/docs/@george%2Fplat-259%2Fonly-trust-x-forwarded-host-from-trusted-proxies/admin/networking/wildcard-access-url
Please reload this pagehttps://github.com/coder/coder/pull/26204
https://github.com/geokat
geokathttps://github.com/geokat
release/breaking https://github.com/coder/coder/issues?q=state%3Aopen%20label%3Arelease%2Fbreaking
Jun 10, 2026https://github.com/coder/coder/pull/26204#event-26589283209
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jun 10, 2026https://github.com/coder/coder/pull/26204#event-26589290016
https://github.com/geokat
docs: document trusted proxy requirement for X-Forwarded-Hosthttps://github.com/coder/coder/pull/26204/commits/ed2a41c1c3902237ad41aa1f9f95ff3110829d76
ed2a41chttps://github.com/coder/coder/pull/26204/commits/ed2a41c1c3902237ad41aa1f9f95ff3110829d76
https://github.com/geokat
geokathttps://github.com/geokat
force-pushedhttps://github.com/coder/coder/compare/fa0a412fcb49a9c78dfe7aadb2556653971d8ec2..ed2a41c1c3902237ad41aa1f9f95ff3110829d76
fa0a412https://github.com/coder/coder/commit/fa0a412fcb49a9c78dfe7aadb2556653971d8ec2
ed2a41chttps://github.com/coder/coder/commit/ed2a41c1c3902237ad41aa1f9f95ff3110829d76
Compare https://github.com/coder/coder/compare/fa0a412fcb49a9c78dfe7aadb2556653971d8ec2..ed2a41c1c3902237ad41aa1f9f95ff3110829d76
June 10, 2026 18:40https://github.com/coder/coder/pull/26204#event-26589721338
https://github.com/johnstcn
johnstcnhttps://github.com/johnstcn
Jun 11, 2026 https://github.com/coder/coder/pull/26204#pullrequestreview-4475130336
View reviewed changes https://github.com/coder/coder/pull/26204/files/ed2a41c1c3902237ad41aa1f9f95ff3110829d76
agent/agentchat/log_test.gohttps://github.com/coder/coder/pull/26204/files/ed2a41c1c3902237ad41aa1f9f95ff3110829d76#diff-30c4c2b3459d54ca8f9806af283e8357c714ea3a21838b4faa8870da23f7087f
Please reload this pagehttps://github.com/coder/coder/pull/26204
coderd/httpmw/realip_test.gohttps://github.com/coder/coder/pull/26204/files/ed2a41c1c3902237ad41aa1f9f95ff3110829d76#diff-d8ffa9d788efb9e2d64638db9b1753d264bd86e8712d1bbc054d8cf9f4f4dd9c
Please reload this pagehttps://github.com/coder/coder/pull/26204
https://github.com/geokat
add test with a malformed RemoteAddr as per review feedbackhttps://github.com/coder/coder/pull/26204/commits/30bcd8010adb602481e7dc9222465ba8ae2c85b3
30bcd80https://github.com/coder/coder/pull/26204/commits/30bcd8010adb602481e7dc9222465ba8ae2c85b3
https://github.com/geokat
geokathttps://github.com/geokat
b5ef700https://github.com/coder/coder/commit/b5ef700dd65fd369430b015b77818301b62021f9
Jun 11, 2026https://github.com/coder/coder/pull/26204#event-26639225399
Please reload this pagehttps://github.com/coder/coder/pull/26204
https://github.com/geokat
geokathttps://github.com/geokat
June 11, 2026 17:55https://github.com/coder/coder/pull/26204#event-26639226998
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jun 11, 2026https://github.com/coder/coder/pull/26204#event-26639233733
https://github.com/f0ssel
f0sselhttps://github.com/f0ssel
backport https://github.com/coder/coder/issues?q=state%3Aopen%20label%3Abackport
Jun 11, 2026https://github.com/coder/coder/pull/26204#event-26643778709
https://github.co/hiddenchars
https://github.com/coder/coder/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F26204
https://github.com/johnstcn
johnstcn https://github.com/johnstcn
https://github.com/coder/coder/pull/26204/files/ed2a41c1c3902237ad41aa1f9f95ff3110829d76
Please reload this pagehttps://github.com/coder/coder/pull/26204
https://github.com/geokat
geokat https://github.com/geokat
backport https://github.com/coder/coder/issues?q=state%3Aopen%20label%3Abackport
release/breaking https://github.com/coder/coder/issues?q=state%3Aopen%20label%3Arelease%2Fbreaking
Please reload this pagehttps://github.com/coder/coder/pull/26204
https://github.com/geokat
https://github.com/johnstcn
https://github.com/f0ssel
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.