René's URL Explorer Experiment


Title: fix: only trust x-forwarded-host from configured trusted proxies (#2… by geokat · Pull Request #26296 · coder/coder · GitHub

Open Graph Title: fix: only trust x-forwarded-host from configured trusted proxies (#2… by geokat · Pull Request #26296 · coder/coder

X Title: fix: only trust x-forwarded-host from configured trusted proxies (#2… by geokat · Pull Request #26296 · coder/coder

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

Open Graph Description: Backport of #26204 (commit b5ef700) to release/2.34 Replace RequestHost with httpmw.EffectiveHost, which honors X-Forwarded-Host only when the original socket peer is a configured trusted origin, o...

X Description: Backport of #26204 (commit b5ef700) to release/2.34 Replace RequestHost with httpmw.EffectiveHost, which honors X-Forwarded-Host only when the original socket peer is a configured trusted origin, o...

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

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:7a82ae82-4b03-ae78-b013-86c0315e7213
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE5EC:1087D4:17FEE04:200E1D6:6B014B9F
html-safe-nonce4cb3836ab003fb42b89d235d8e348c003267d01d2049d6b8c8199a07a0fb3121
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUVDOjEwODdENDoxN0ZFRTA0OjIwMEUxRDY6NkIwMTRCOUYiLCJ2aXNpdG9yX2lkIjoiNDc0MjYzNTExOTE5NjU4ODk1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf51420266caa11ae6934d6ce53aa7949acad128031320ae54ded01817b4c75dc
hovercard-subject-tagpull_request:3849941550
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/26296/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e61404638208fd40f9a59abf7038f56a9f9ca691de2bc73237ebe4795e4c35be/coder/coder/pull/26296
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e61404638208fd40f9a59abf7038f56a9f9ca691de2bc73237ebe4795e4c35be/coder/coder/pull/26296
og:image:altBackport of #26204 (commit b5ef700) to release/2.34 Replace RequestHost with httpmw.EffectiveHost, which honors X-Forwarded-Host only when the original socket peer is a configured trusted origin, o...
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-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/coder/coder/pull/26296#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F26296
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%2F26296
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/26296
Reloadhttps://github.com/coder/coder/pull/26296
Reloadhttps://github.com/coder/coder/pull/26296
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
f0sselhttps://github.com/f0ssel
release/2.34https://github.com/coder/coder/tree/release/2.34
george/r234/backport-plat-259-only-trust-x-forwarded-host-from-trusted-proxieshttps://github.com/coder/coder/tree/george/r234/backport-plat-259-only-trust-x-forwarded-host-from-trusted-proxies
Conversationhttps://github.com/coder/coder/pull/26296
Commits1 (1)https://github.com/coder/coder/pull/26296/commits
Checkshttps://github.com/coder/coder/pull/26296/checks
Files changedhttps://github.com/coder/coder/pull/26296/files
fix: only trust x-forwarded-host from configured trusted proxies (#2…https://github.com/coder/coder/pull/26296#top
f0sselhttps://github.com/f0ssel
release/2.34https://github.com/coder/coder/tree/release/2.34
george/r234/backport-plat-259-only-trust-x-forwarded-host-from-trusted-proxieshttps://github.com/coder/coder/tree/george/r234/backport-plat-259-only-trust-x-forwarded-host-from-trusted-proxies
https://github.com/geokat
geokathttps://github.com/geokat
Jun 11, 2026https://github.com/coder/coder/pull/26296#issue-4643661951
Please reload this pagehttps://github.com/coder/coder/pull/26296
#26204https://github.com/coder/coder/pull/26204
b5ef700https://github.com/coder/coder/commit/b5ef700dd65fd369430b015b77818301b62021f9
Please reload this pagehttps://github.com/coder/coder/pull/26296
https://github.com/geokat
fix!: only trust x-forwarded-host from configured trusted proxies (https://github.com/coder/coder/pull/26296/commits/e1e1a9df3bde7eadf885bf8bc6829c9b57fdd950
#2…https://github.com/coder/coder/pull/26204
e1e1a9dhttps://github.com/coder/coder/pull/26296/commits/e1e1a9df3bde7eadf885bf8bc6829c9b57fdd950
…6204https://github.com/coder/coder/pull/26204
#26204https://github.com/coder/coder/pull/26204
b5ef700https://github.com/coder/coder/commit/b5ef700dd65fd369430b015b77818301b62021f9
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jun 11, 2026https://github.com/coder/coder/pull/26296#issuecomment-4684300702
📖 View docs previewhttps://coder.com/docs/@george%2Fr234%2Fbackport-plat-259-only-trust-x-forwarded-host-from-trusted-proxies/admin/networking/wildcard-access-url
Please reload this pagehttps://github.com/coder/coder/pull/26296
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
geokathttps://github.com/geokat
Jun 11, 2026https://github.com/coder/coder/pull/26296#event-26643455324
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jun 11, 2026https://github.com/coder/coder/pull/26296#issuecomment-4684301457
Please reload this pagehttps://github.com/coder/coder/pull/26296
@geokathttps://github.com/geokat
Please reload this pagehttps://github.com/coder/coder/pull/26296
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
Jun 11, 2026https://github.com/coder/coder/pull/26296#issuecomment-4684316720
PLAT-259https://linear.app/codercom/issue/PLAT-259
Please reload this pagehttps://github.com/coder/coder/pull/26296
https://github.com/geokat
geokathttps://github.com/geokat
release/breaking https://github.com/coder/coder/issues?q=state%3Aopen%20label%3Arelease%2Fbreaking
Jun 11, 2026https://github.com/coder/coder/pull/26296#event-26643672888
https://github.com/geokat
geokathttps://github.com/geokat
Jun 11, 2026https://github.com/coder/coder/pull/26296#event-26643755509
https://github.com/f0ssel
f0sselhttps://github.com/f0ssel
Jun 11, 2026 https://github.com/coder/coder/pull/26296#pullrequestreview-4480162406
View reviewed changes https://github.com/coder/coder/pull/26296/files/e1e1a9df3bde7eadf885bf8bc6829c9b57fdd950
https://github.com/f0ssel
f0sselhttps://github.com/f0ssel
June 11, 2026 20:02https://github.com/coder/coder/pull/26296#event-26644252059
https://github.com/f0ssel
f0sselhttps://github.com/f0ssel
3c46473https://github.com/coder/coder/commit/3c46473d5381428f91d4470b8523a012580e91f9
Jun 11, 2026https://github.com/coder/coder/pull/26296#event-26644256526
Please reload this pagehttps://github.com/coder/coder/pull/26296
https://github.com/f0ssel
f0sselhttps://github.com/f0ssel
June 11, 2026 20:03https://github.com/coder/coder/pull/26296#event-26644257623
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%2F26296
https://github.com/f0ssel
f0ssel https://github.com/f0ssel
https://github.com/coder/coder/pull/26296/files/e1e1a9df3bde7eadf885bf8bc6829c9b57fdd950
Please reload this pagehttps://github.com/coder/coder/pull/26296
https://github.com/geokat
geokat https://github.com/geokat
release/breaking https://github.com/coder/coder/issues?q=state%3Aopen%20label%3Arelease%2Fbreaking
Please reload this pagehttps://github.com/coder/coder/pull/26296
https://github.com/geokat
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.