Title: X-Forwarded-Host can contain multiple hosts · Issue #6215 · coder/code-server · GitHub
Open Graph Title: X-Forwarded-Host can contain multiple hosts · Issue #6215 · coder/code-server
X Title: X-Forwarded-Host can contain multiple hosts · Issue #6215 · coder/code-server
Description: Is there an existing issue for this? I have searched the existing issues OS/Web Information N/A Steps to Reproduce X-Forwarded-Host:
Open Graph Description: Is there an existing issue for this? I have searched the existing issues OS/Web Information N/A Steps to Reproduce X-Forwarded-Host:
X Description: Is there an existing issue for this? I have searched the existing issues OS/Web Information N/A Steps to Reproduce X-Forwarded-Host: <host>, <host> Expected We need to split this header...
Opengraph URL: https://github.com/coder/code-server/issues/6215
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"X-Forwarded-Host can contain multiple hosts","articleBody":"### Is there an existing issue for this?\r\n\r\n- [X] I have searched the existing issues\r\n\r\n### OS/Web Information\r\n\r\nN/A\r\n\r\n### Steps to Reproduce\r\n\r\n```\r\nX-Forwarded-Host: \u003chost>, \u003chost>\r\n```\r\n\r\n### Expected\r\n\r\nWe need to split this header and use the first.\r\n\r\n~**Edit**: actually unclear to me whether this is valid syntax for the header.~ While it does seem unusual the header is non-standard so this seems fair enough.\r\n\r\n### Actual\r\n\r\nWe use the whole thing.\r\n\r\n### Logs\r\n\r\n_No response_\r\n\r\n### Screenshot/Video\r\n\r\n_No response_\r\n\r\n### Does this issue happen in VS Code or GitHub Codespaces?\r\n\r\n- [X] I cannot reproduce this in VS Code.\r\n- [X] I cannot reproduce this in GitHub Codespaces.\r\n\r\n### Are you accessing code-server over HTTPS?\r\n\r\n- [X] I am using HTTPS.\r\n\r\n### Notes\r\n\r\n_No response_","author":{"url":"https://github.com/code-asher","@type":"Person","name":"code-asher"},"datePublished":"2023-05-16T18:38:10Z","url":"https://github.com/coder/code-server/issues/6215"}
| 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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2d566c6d-941b-1ef8-d705-83800455e41c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CFA2:15EC7E:53E7C:71BC8:6B044352 |
| html-safe-nonce | 6ccd14b4f71ce583e8bfc2c813a83483bd5fa26b077f14937318fbb8b6407cb9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkEyOjE1RUM3RTo1M0U3Qzo3MUJDODo2QjA0NDM1MiIsInZpc2l0b3JfaWQiOiIxMzM3MDY0MDc1OTg0OTEzMjM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | aedaf96a0dd1c4eb3c86976b6639b517de1fcb41b34c67faa7836f68977fd75f |
| hovercard-subject-tag | issue:1712544709 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/code-server/6215/issue_layout |
| twitter:image | https://opengraph.githubassets.com/99c76ef5fb26882ec2716fd1faee298e36afea589d777717eeb1e27cbfd93245/coder/code-server/issues/6215 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/99c76ef5fb26882ec2716fd1faee298e36afea589d777717eeb1e27cbfd93245/coder/code-server/issues/6215 |
| og:image:alt | Is there an existing issue for this? I have searched the existing issues OS/Web Information N/A Steps to Reproduce X-Forwarded-Host: |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | code-asher |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64 |
| turbo-cache-control | no-preview |
| 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 | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width