René's URL Explorer Experiment


Title: feat: bypass built-in CORS handling for workspace apps by Emyrk · Pull Request #17596 · coder/coder · GitHub

Open Graph Title: feat: bypass built-in CORS handling for workspace apps by Emyrk · Pull Request #17596 · coder/coder

X Title: feat: bypass built-in CORS handling for workspace apps by Emyrk · Pull Request #17596 · coder/coder

Description: Secure environments for developers and their agents - feat: bypass built-in CORS handling for workspace apps by Emyrk · Pull Request #17596 · coder/coder

Open Graph Description: Continues #15669 This PR introduces a partial fix for #15096; it allows operators to specify the CORS behavior on a per-coder_app level. This change requires cors_behavior to be set on a given code...

X Description: Continues #15669 This PR introduces a partial fix for #15096; it allows operators to specify the CORS behavior on a per-coder_app level. This change requires cors_behavior to be set on a given code...

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

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:ccebaca5-ad6a-e742-7e4f-354075346f69
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA2FE:14ECB:20410C3:28F47E7:6B016EC7
html-safe-nonce878f1e5a920b7c85136f990397db214a896bb9aff590af63e9ee329f2411175a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMkZFOjE0RUNCOjIwNDEwQzM6MjhGNDdFNzo2QjAxNkVDNyIsInZpc2l0b3JfaWQiOiIxMTM1MTQwMjAwMDYyNzQyMjE1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacbe1091c63b28f207e551e078dd67100a76f2f91a79aa171bd694ef44d1a02cf1
hovercard-subject-tagpull_request:2487003444
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/17596/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2410589608852afd96fa86a082b3d8fa74634e5698902150cf271f6d6162ff96/coder/coder/pull/17596
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2410589608852afd96fa86a082b3d8fa74634e5698902150cf271f6d6162ff96/coder/coder/pull/17596
og:image:altContinues #15669 This PR introduces a partial fix for #15096; it allows operators to specify the CORS behavior on a per-coder_app level. This change requires cors_behavior to be set on a given code...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameEmyrk
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/17596#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F17596
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%2F17596
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/17596
Reloadhttps://github.com/coder/coder/pull/17596
Reloadhttps://github.com/coder/coder/pull/17596
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests470 (470)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
Emyrkhttps://github.com/Emyrk
mainhttps://github.com/coder/coder/tree/main
stevenmasley/corshttps://github.com/coder/coder/tree/stevenmasley/cors
Conversationhttps://github.com/coder/coder/pull/17596
Commits19 (19)https://github.com/coder/coder/pull/17596/commits
Checkshttps://github.com/coder/coder/pull/17596/checks
Files changedhttps://github.com/coder/coder/pull/17596/files
feat: bypass built-in CORS handling for workspace appshttps://github.com/coder/coder/pull/17596#top
Emyrkhttps://github.com/Emyrk
mainhttps://github.com/coder/coder/tree/main
stevenmasley/corshttps://github.com/coder/coder/tree/stevenmasley/cors
https://github.com/Emyrk
Emyrkhttps://github.com/Emyrk
Apr 28, 2025https://github.com/coder/coder/pull/17596#issue-3026237171
Please reload this pagehttps://github.com/coder/coder/pull/17596
#15669https://github.com/coder/coder/pull/15669
#15096https://github.com/coder/coder/issues/15096
coder/terraform-provider-coder#309https://github.com/coder/terraform-provider-coder/pull/309
port shareshttps://coder.com/docs/admin/networking/port-forwarding#sharing-ports
Please reload this pagehttps://github.com/coder/coder/pull/17596
dannykoppinghttps://github.com/dannykopping
November 28, 2024 12:04https://github.com/coder/coder/pull/17596#commits-pushed-0dc7ca3
https://github.com/dannykopping
Working implementationhttps://github.com/coder/coder/pull/17596/commits/0dc7ca368f34d22dcfbf1f75501da6561e25c084
0dc7ca3https://github.com/coder/coder/pull/17596/commits/0dc7ca368f34d22dcfbf1f75501da6561e25c084
https://github.com/dannykopping
Rename CorsBehavior to CORSBehaviorhttps://github.com/coder/coder/pull/17596/commits/3c0e33aa997d53c40e8138bb8504892d248beb63
3c0e33ahttps://github.com/coder/coder/pull/17596/commits/3c0e33aa997d53c40e8138bb8504892d248beb63
https://github.com/dannykopping
Hard & simplify CORORS handling logichttps://github.com/coder/coder/pull/17596/commits/a4d3c8d29fe3ebff6dc04edfeb04e8e39ed0a519
a4d3c8dhttps://github.com/coder/coder/pull/17596/commits/a4d3c8d29fe3ebff6dc04edfeb04e8e39ed0a519
https://github.com/dannykopping
Minor fixeshttps://github.com/coder/coder/pull/17596/commits/873c3e45f5162374474f6a13af6f0e854a995e83
873c3e4https://github.com/coder/coder/pull/17596/commits/873c3e45f5162374474f6a13af6f0e854a995e83
https://github.com/dannykopping
Appeasing the linterhttps://github.com/coder/coder/pull/17596/commits/65f984f87cc33c7900cf4e820968ab37b4998db0
65f984fhttps://github.com/coder/coder/pull/17596/commits/65f984f87cc33c7900cf4e820968ab37b4998db0
https://github.com/dannykopping
Move type def to codersdkhttps://github.com/coder/coder/pull/17596/commits/1f0b34c178bd759ba36ea66bc69388f8731f4925
1f0b34chttps://github.com/coder/coder/pull/17596/commits/1f0b34c178bd759ba36ea66bc69388f8731f4925
https://github.com/dannykopping
Appease the linter, againhttps://github.com/coder/coder/pull/17596/commits/5be547762bb9f8ad9be9d9b593b5ca6ed60f3ec8
5be5477https://github.com/coder/coder/pull/17596/commits/5be547762bb9f8ad9be9d9b593b5ca6ed60f3ec8
https://github.com/dannykopping
Fix migration numhttps://github.com/coder/coder/pull/17596/commits/ddbbaa948b9e288896d7e4643cfd028371a2397c
ddbbaa9https://github.com/coder/coder/pull/17596/commits/ddbbaa948b9e288896d7e4643cfd028371a2397c
https://github.com/dannykopping
Removing unnecessary header checkhttps://github.com/coder/coder/pull/17596/commits/63c1852d30bbad016c3a13ddc3752dff4685e42b
63c1852https://github.com/coder/coder/pull/17596/commits/63c1852d30bbad016c3a13ddc3752dff4685e42b
https://github.com/dannykopping
Improve testshttps://github.com/coder/coder/pull/17596/commits/976cd78d90a878bb88fd5a1d7c9cdd3a08409d0e
976cd78https://github.com/coder/coder/pull/17596/commits/976cd78d90a878bb88fd5a1d7c9cdd3a08409d0e
https://github.com/dannykopping
Merge branch 'main' ofhttps://github.com/coder/coder/pull/17596/commits/9f9068fff7a6e585eef81524ceb4ad9aaa830d1c
https://github.com/coder/coderhttps://github.com/coder/coder
into dk/corshttps://github.com/coder/coder/pull/17596/commits/9f9068fff7a6e585eef81524ceb4ad9aaa830d1c
9f9068fhttps://github.com/coder/coder/pull/17596/commits/9f9068fff7a6e585eef81524ceb4ad9aaa830d1c
https://github.com/dannykopping
Comprehensive CORS test suite for both request & responsehttps://github.com/coder/coder/pull/17596/commits/3dc00e1dc58d50f0c033b9c63d79e8fda9afcbb4
3dc00e1https://github.com/coder/coder/pull/17596/commits/3dc00e1dc58d50f0c033b9c63d79e8fda9afcbb4
https://github.com/Emyrk
Merge remote-tracking branch 'origin/main' into stevenmasley/corshttps://github.com/coder/coder/pull/17596/commits/5e1c6eb83b17e4038a1096afad6c8767fe1aa987
5e1c6ebhttps://github.com/coder/coder/pull/17596/commits/5e1c6eb83b17e4038a1096afad6c8767fe1aa987
https://github.com/Emyrk
make genhttps://github.com/coder/coder/pull/17596/commits/326696773b927745cfb67a811dd5d00336b0163e
3266967https://github.com/coder/coder/pull/17596/commits/326696773b927745cfb67a811dd5d00336b0163e
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Emyrkhttps://github.com/Emyrk
Apr 28, 2025https://github.com/coder/coder/pull/17596#event-17442542299
https://github.com/Emyrk
formattinghttps://github.com/coder/coder/pull/17596/commits/906562369a4df6fc1616e986065182bf6cc218a9
9065623https://github.com/coder/coder/pull/17596/commits/906562369a4df6fc1616e986065182bf6cc218a9
https://github.com/Emyrk
Emyrkhttps://github.com/Emyrk
Apr 28, 2025https://github.com/coder/coder/pull/17596#event-17442615184
https://github.com/Emyrk
move cors to after app handlinghttps://github.com/coder/coder/pull/17596/commits/991d285a1f1e5f5ef4096fff64f8e70957ad6762
991d285https://github.com/coder/coder/pull/17596/commits/991d285a1f1e5f5ef4096fff64f8e70957ad6762
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 29, 2025https://github.com/coder/coder/pull/17596#issuecomment-2837088596
Please reload this pagehttps://github.com/coder/coder/pull/17596
Emyrkhttps://github.com/Emyrk
April 28, 2025 19:47https://github.com/coder/coder/pull/17596#commits-pushed-5ba7b82
https://github.com/Emyrk
genhttps://github.com/coder/coder/pull/17596/commits/5ba7b823e1c6a260ce0ff6e077f8506ec387b57b
5ba7b82https://github.com/coder/coder/pull/17596/commits/5ba7b823e1c6a260ce0ff6e077f8506ec387b57b
https://github.com/Emyrk
chore: work on template to test corshttps://github.com/coder/coder/pull/17596/commits/bc8cce381b835dead4e5ce4327d958bacbde6f24
bc8cce3https://github.com/coder/coder/pull/17596/commits/bc8cce381b835dead4e5ce4327d958bacbde6f24
https://github.com/Emyrk
chore: add template to test cors behaviorhttps://github.com/coder/coder/pull/17596/commits/de30a2952f210a2c9411b23dd648362db14d0447
de30a29https://github.com/coder/coder/pull/17596/commits/de30a2952f210a2c9411b23dd648362db14d0447
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
May 7, 2025https://github.com/coder/coder/pull/17596#event-17546694875
https://github.com/f0ssel
f0sselhttps://github.com/f0ssel
cstyanhttps://github.com/cstyan
cstyanhttps://github.com/cstyan
May 8, 2025 14:38https://github.com/coder/coder/pull/17596#event-17575284241
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
May 9, 2025https://github.com/coder/coder/pull/17596#event-17582378519
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
May 16, 2025https://github.com/coder/coder/pull/17596#event-17680705025
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
May 19, 2025https://github.com/coder/coder/pull/17596#event-17705050227
https://github.com/Emyrk
Emyrkhttps://github.com/Emyrk
May 19, 2025https://github.com/coder/coder/pull/17596#event-17715580086
https://github.com/Emyrk
Emyrkhttps://github.com/Emyrk
spikecurtishttps://github.com/spikecurtis
code ownerhttps://github.com/coder/coder/blob/4e0fc6e17c987abd55f697cd1b1220fe71d2c1ec/CODEOWNERS#L8
May 19, 2025 13:48https://github.com/coder/coder/pull/17596#event-17715580238
https://github.com/Emyrk
Emyrkhttps://github.com/Emyrk
johnstcnhttps://github.com/johnstcn
code ownerhttps://github.com/coder/coder/blob/4e0fc6e17c987abd55f697cd1b1220fe71d2c1ec/CODEOWNERS#L8
May 19, 2025 13:48https://github.com/coder/coder/pull/17596#event-17715580266
https://github.com/Emyrk
Emyrkhttps://github.com/Emyrk
May 19, 2025https://github.com/coder/coder/pull/17596#event-17715583930
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
May 19, 2025https://github.com/coder/coder/pull/17596#event-17715588342
https://github.com/Emyrk
Emyrkhttps://github.com/Emyrk
May 19, 2025https://github.com/coder/coder/pull/17596#issuecomment-2891105921
Please reload this pagehttps://github.com/coder/coder/pull/17596
https://github.com/Emyrk
Emyrkhttps://github.com/Emyrk
johnstcnhttps://github.com/johnstcn
spikecurtishttps://github.com/spikecurtis
May 19, 2025 13:48https://github.com/coder/coder/pull/17596#event-17715591609
https://github.com/Emyrk
Emyrkhttps://github.com/Emyrk
July 22, 2025 13:12https://github.com/coder/coder/pull/17596#event-18752203488
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%2F17596
Please reload this pagehttps://github.com/coder/coder/pull/17596
https://github.com/Emyrk
Emyrk https://github.com/Emyrk
stale https://github.com/coder/coder/issues?q=state%3Aopen%20label%3Astale
Please reload this pagehttps://github.com/coder/coder/pull/17596
https://github.com/Emyrk
https://github.com/dannykopping
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.