| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:0f0b7557-b220-e979-cc4f-8fdeb97b3ebd |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BBAC:26BC2B:3B4F12:53527A:6B043FF6 |
| html-safe-nonce | b52a3e4b1da2f97bf4bcc8a79176b512f0e9eddb9331c21d719b360f53da2f70 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQkFDOjI2QkMyQjozQjRGMTI6NTM1MjdBOjZCMDQzRkY2IiwidmlzaXRvcl9pZCI6Ijc2MzUzNTY1NjAxMTM1NDkzMDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1c20f8d2c94aae00225b0f5d8a659ffd8e06510d8e0589511a20a93818f8f20f |
| hovercard-subject-tag | pull_request:4879669652 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/coder/code-server/8059/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/2035b3f251d5d6218cb742a9a4dd965082c905f26730f485b73fe339b233666f/coder/code-server/pull/8059 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2035b3f251d5d6218cb742a9a4dd965082c905f26730f485b73fe339b233666f/coder/code-server/pull/8059 |
| og:image:alt | Fixes #6166
Summary
The origin check now treats a default port (:443 for https, :80 for http) as no port, and uses X-Forwarded-Port when X-Forwarded-Host has no port. Everything else is still an ex... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | harshbhx |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64 |
| turbo-cache-control | no-cache |
| go-import | github.com/coder/code-server git https://github.com/coder/code-server.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 172953845 |
| octolytics-dimension-repository_nwo | coder/code-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 172953845 |
| octolytics-dimension-repository_network_root_nwo | coder/code-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 06dc448a76fe4751ac1db26524aefa3aa3e889a8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/coder/code-server/pull/8059#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcode-server%2Fpull%2F8059 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcode-server%2Fpull%2F8059 |
| Sign up | https://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%2Fcode-server |
| Reload | https://github.com/coder/code-server/pull/8059 |
| Reload | https://github.com/coder/code-server/pull/8059 |
| Reload | https://github.com/coder/code-server/pull/8059 |
| coder | https://github.com/coder |
| code-server | https://github.com/coder/code-server |
| Code | https://github.com/coder/code-server |
| Issues147 (147) | https://github.com/coder/code-server/issues |
| Pull requests15 (15) | https://github.com/coder/code-server/pulls |
| Discussions | https://github.com/coder/code-server/discussions |
| Actions | https://github.com/coder/code-server/actions |
| Projects | https://github.com/coder/code-server/projects |
| Security and quality3 (3) | https://github.com/coder/code-server/security |
| Insights | https://github.com/coder/code-server/insights |
| https://github.com/coder/code-server |
| code-asher | https://github.com/code-asher |
| coder:main | https://github.com/coder/code-server/tree/main |
| harshbhx:fix/6166-origin-ignore-port | https://github.com/harshbhx/code-server/tree/fix/6166-origin-ignore-port |
| Conversation | https://github.com/coder/code-server/pull/8059 |
| Commits1 (1) | https://github.com/coder/code-server/pull/8059/commits |
| Checks | https://github.com/coder/code-server/pull/8059/checks |
| Files changed | https://github.com/coder/code-server/pull/8059/files |
| Fix origin check with default ports and X-Forwarded-Port | https://github.com/coder/code-server/pull/8059#top |
| code-asher | https://github.com/code-asher |
| coder:main | https://github.com/coder/code-server/tree/main |
| harshbhx:fix/6166-origin-ignore-port | https://github.com/harshbhx/code-server/tree/fix/6166-origin-ignore-port |
|
| https://github.com/harshbhx |
| harshbhx | https://github.com/harshbhx |
| Oct 15, 2026 | https://github.com/coder/code-server/pull/8059#issue-5873720723 |
| #6166 | https://github.com/coder/code-server/issues/6166 |
| the issue discussion | https://github.com/coder/code-server/issues/6166#issuecomment-6179353282 |
| src/node/http.ts#L406 | https://github.com/coder/code-server/blob/f07405cba33179e6d2058af07ca2be290f19b262/src/node/http.ts#L406 |
| @smerschjohann | https://github.com/smerschjohann |
| Please reload this page | https://github.com/coder/code-server/pull/8059 |
|
| https://github.com/harshbhx |
| Normalize default ports and use X-Forwarded-Port in the origin check | https://github.com/coder/code-server/pull/8059/commits/7e16bbf939435fe954560dcc0678a4765961e691 |
| 7e16bbf | https://github.com/coder/code-server/pull/8059/commits/7e16bbf939435fe954560dcc0678a4765961e691 |
| https://example.com` | https://example.com` |
| coder#6166 | https://github.com/coder/code-server/issues/6166 |
| https://github.com/harshbhx |
| harshbhx | https://github.com/harshbhx |
| code owner | https://github.com/coder/code-server/blob/f07405cba33179e6d2058af07ca2be290f19b262/.github/CODEOWNERS#L1 |
| October 15, 2026 20:50 | https://github.com/coder/code-server/pull/8059#event-33377423357 |
|
| https://github.com/apps/copilot-pull-request-reviewer |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| October 15, 2026 20:50 | https://github.com/coder/code-server/pull/8059#event-33377423544 |
|
| https://github.com/apps/copilot-pull-request-reviewer |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
|
Oct 15, 2026
| https://github.com/coder/code-server/pull/8059#pullrequestreview-5539746526 |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| https://github.com/coder/code-server/pull/8059#pullrequestreview-5539746526 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/code-server/pull/8059 |
| https://github.com/harshbhx |
| harshbhx | https://github.com/harshbhx |
| Oct 17, 2026 | https://github.com/coder/code-server/pull/8059#issuecomment-6238527952 |
| @code-asher | https://github.com/code-asher |
| #6166 | https://github.com/coder/code-server/issues/6166 |
| Please reload this page | https://github.com/coder/code-server/pull/8059 |
| https://github.com/harshbhx |
| harshbhx | https://github.com/harshbhx |
| Oct 25, 2026 | https://github.com/coder/code-server/pull/8059#issuecomment-6400436283 |
| @code-asher | https://github.com/code-asher |
| #6166 | https://github.com/coder/code-server/issues/6166 |
| Please reload this page | https://github.com/coder/code-server/pull/8059 |
| https://github.com/code-asher |
| code-asher | https://github.com/code-asher |
|
Oct 27, 2026
| https://github.com/coder/code-server/pull/8059#pullrequestreview-5660916315 |
|
View reviewed changes
| https://github.com/coder/code-server/pull/8059/files/7e16bbf939435fe954560dcc0678a4765961e691 |
| code-asher | https://github.com/code-asher |
| https://github.com/coder/code-server/pull/8059#pullrequestreview-5660916315 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/code-server/pull/8059 |
| src/node/http.ts | https://github.com/coder/code-server/pull/8059/files/7e16bbf939435fe954560dcc0678a4765961e691#diff-75505c590327def24759159fb14d6c70549921bcd413b5a8e0268849b5f5840c |
| code-asher | https://github.com/code-asher |
| Oct 27, 2026 | https://github.com/coder/code-server/pull/8059#discussion_r4383990635 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/coder/code-server/pull/8059 |
| https://github.com/code-asher |
| code-asher | https://github.com/code-asher |
| 89cba83 | https://github.com/coder/code-server/commit/89cba83cb461ce3dad8e0b065041bf786603b1b3 |
| Oct 27, 2026 | https://github.com/coder/code-server/pull/8059#event-34319064520 |
| Please reload this page | https://github.com/coder/code-server/pull/8059 |
| https://github.com/apps/claude |
| claude | https://github.com/apps/claude |
|
Nov 8, 2026
| https://github.com/coder/code-server/pull/8059#ref-pullrequest-6011835111 |
|
build(deps): update image ghcr.io/coder/code-server ( 4.141.0 ➜ 4.145.2 )
rcdailey/home-ops#1563
| https://github.com/rcdailey/home-ops/pull/1563 |
| https://github.co/hiddenchars |
| https://github.com/coder/code-server/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcode-server%2Fpull%2F8059 |
|
Copilot code review
| https://github.com/apps/copilot-pull-request-reviewer |
|
Copilot
| https://github.com/apps/copilot-pull-request-reviewer |
| Learn more about Copilot code review. | https://gh.io/copilot-code-review-docs |
|
| https://github.com/coder/code-server/pull/8059/files/7e16bbf939435fe954560dcc0678a4765961e691 |
|
| https://github.com/code-asher |
|
code-asher
| https://github.com/code-asher |
|
| https://github.com/coder/code-server/pull/8059/files/7e16bbf939435fe954560dcc0678a4765961e691 |
| Please reload this page | https://github.com/coder/code-server/pull/8059 |
|
Account for hosts with/without ports in origin check
| https://github.com/coder/code-server/issues/6166 |
| Please reload this page | https://github.com/coder/code-server/pull/8059 |
|
| https://github.com/harshbhx |
|
| https://github.com/code-asher |
|
| https://github.com/apps/copilot-pull-request-reviewer |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |