René's URL Explorer Experiment


Title: server: inject CORS headers on Fastify-internal errors (#376) by melvincarvalho · Pull Request #421 · JavaScriptSolidServer/JavaScriptSolidServer · GitHub

Open Graph Title: server: inject CORS headers on Fastify-internal errors (#376) by melvincarvalho · Pull Request #421 · JavaScriptSolidServer/JavaScriptSolidServer

X Title: server: inject CORS headers on Fastify-internal errors (#376) by melvincarvalho · Pull Request #421 · JavaScriptSolidServer/JavaScriptSolidServer

Description: JavaScriptSolidServer. Contribute to JavaScriptSolidServer/JavaScriptSolidServer development by creating an account on GitHub.

Open Graph Description: Closes #376. Before $ curl -i -H 'Origin: https://example.com' 'https://example.test/foo%g1' HTTP/2 400 content-type: application/json content-length: 116 # (no access-control-* hea...

X Description: Closes #376. Before $ curl -i -H 'Origin: https://example.com' 'https://example.test/foo%g1' HTTP/2 400 content-type: application/json content-length: 116 # (no acce...

Opengraph URL: https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

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:24c90638-2b3f-e501-d39b-9c7536e8a5a2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEC4C:263885:9F85BE:C9C826:6B0398CE
html-safe-nonce6150e34e9929eb2262cd1f6b730c08eaf6ffa0bf0dd3cefa4cf91ef52c4a232e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzRDOjI2Mzg4NTo5Rjg1QkU6QzlDODI2OjZCMDM5OENFIiwidmlzaXRvcl9pZCI6IjM3MzkyMzQ5MzM4MzU3OTg3MzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac4ba24ec1224a92d126425b2c5efc5219b88633f0c205fd275f221f4592526c59
hovercard-subject-tagpull_request:3664297243
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/JavaScriptSolidServer/JavaScriptSolidServer/421/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/3e5641d8bd0d9f0eb18f44bc1b951c778b00e203fe68379f45880145260ea6e1/JavaScriptSolidServer/JavaScriptSolidServer/pull/421
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3e5641d8bd0d9f0eb18f44bc1b951c778b00e203fe68379f45880145260ea6e1/JavaScriptSolidServer/JavaScriptSolidServer/pull/421
og:image:altCloses #376. Before $ curl -i -H 'Origin: https://example.com' 'https://example.test/foo%g1' HTTP/2 400 content-type: application/json content-length: 116 # (no access-control-* hea...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemelvincarvalho
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/JavaScriptSolidServer/JavaScriptSolidServer git https://github.com/JavaScriptSolidServer/JavaScriptSolidServer.git
octolytics-dimension-user_id205442424
octolytics-dimension-user_loginJavaScriptSolidServer
octolytics-dimension-repository_id958025407
octolytics-dimension-repository_nwoJavaScriptSolidServer/JavaScriptSolidServer
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id958025407
octolytics-dimension-repository_network_root_nwoJavaScriptSolidServer/JavaScriptSolidServer
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaScriptSolidServer%2FJavaScriptSolidServer%2Fpull%2F421
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%2FJavaScriptSolidServer%2FJavaScriptSolidServer%2Fpull%2F421
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=JavaScriptSolidServer%2FJavaScriptSolidServer
Reloadhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421
Reloadhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421
Reloadhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421
JavaScriptSolidServerhttps://github.com/JavaScriptSolidServer
JavaScriptSolidServerhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer
Codehttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer
Issues165 (165)https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues
Pull requests14 (14)https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pulls
Actionshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/actions
Projectshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/projects
Security and qualityhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/security
Insightshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/insights
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer
melvincarvalhohttps://github.com/melvincarvalho
gh-pageshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/tree/gh-pages
issue-376-cors-on-fastify-errorshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/tree/issue-376-cors-on-fastify-errors
Conversationhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421
Commits3 (3)https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421/commits
Checkshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421/checks
Files changedhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421/files
server: inject CORS headers on Fastify-internal errors (#376)https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421#top
melvincarvalhohttps://github.com/melvincarvalho
gh-pageshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/tree/gh-pages
issue-376-cors-on-fastify-errorshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/tree/issue-376-cors-on-fastify-errors
https://github.com/melvincarvalho
melvincarvalhohttps://github.com/melvincarvalho
May 11, 2026https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421#issue-4423974063
Please reload this pagehttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421
#376https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/376
git handler: allow git-protocol header in CORS preflight responses #371https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/371
git handler: collapse multi-slash in URL before forwarding to http-backend (#373) #374https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/374
frameworkErrors optionhttps://fastify.dev/docs/latest/Reference/Server/#frameworkerrors
Please reload this pagehttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421
https://github.com/melvincarvalho
server: inject CORS headers on Fastify-internal errors (https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421/commits/8d0454a8accbd6a582e02e0ef662eae62a53ec81
#376https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/376
)https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421/commits/8d0454a8accbd6a582e02e0ef662eae62a53ec81
8d0454ahttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421/commits/8d0454a8accbd6a582e02e0ef662eae62a53ec81
#374https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/374
#371https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/371
#374https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/374
https://github.com/melvincarvalho
melvincarvalhohttps://github.com/melvincarvalho
Copilothttps://github.com/apps/copilot-pull-request-reviewer
May 11, 2026 21:35https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421#event-25403428471
started reviewinghttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/sessions/439da1ef-a7cb-478f-ae09-ca0e55fc037a
melvincarvalhohttps://github.com/melvincarvalho
May 11, 2026 21:36https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421#event-25403449261
View session https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/sessions/439da1ef-a7cb-478f-ae09-ca0e55fc037a
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
May 11, 2026 https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421#pullrequestreview-4267600179
View reviewed changes https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421/files/8d0454a8accbd6a582e02e0ef662eae62a53ec81
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421#pullrequestreview-4267600179
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Add Copilot custom instructionshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/new/gh-pages?filename=.github/instructions/*.instructions.md
Learn how to get startedhttps://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot
Please reload this pagehttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421
src/server.jshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421/files/8d0454a8accbd6a582e02e0ef662eae62a53ec81#diff-79f4c7cdc0b026f6e556196f5911a449157807cffdb3f9d33f0b5404b4ffc2f3
src/server.jshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421/files/8d0454a8accbd6a582e02e0ef662eae62a53ec81#diff-79f4c7cdc0b026f6e556196f5911a449157807cffdb3f9d33f0b5404b4ffc2f3
test/error-handler.test.jshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421/files/8d0454a8accbd6a582e02e0ef662eae62a53ec81#diff-cfdf8499cfa8b03c96e953bd4f426f7612910fbbae36f8a109b9f0f329b48abe
https://github.com/melvincarvalho
Address copilot pass 1 onhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421/commits/e7d1133738a67b472a9b4c010ad2bec93c04e085
#421https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421
e7d1133https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421/commits/e7d1133738a67b472a9b4c010ad2bec93c04e085
https://github.com/melvincarvalho
melvincarvalhohttps://github.com/melvincarvalho
Copilothttps://github.com/apps/copilot-pull-request-reviewer
May 11, 2026 21:58https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421#event-25404135013
started reviewinghttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/sessions/67ab67b1-7972-4fa6-a425-84626bbdff57
melvincarvalhohttps://github.com/melvincarvalho
May 11, 2026 21:59https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421#event-25404151069
View session https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/sessions/67ab67b1-7972-4fa6-a425-84626bbdff57
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
May 11, 2026 https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421#pullrequestreview-4267729451
View reviewed changes https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421/files/e7d1133738a67b472a9b4c010ad2bec93c04e085
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421#pullrequestreview-4267729451
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421
test/error-handler.test.jshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421/files/e7d1133738a67b472a9b4c010ad2bec93c04e085#diff-cfdf8499cfa8b03c96e953bd4f426f7612910fbbae36f8a109b9f0f329b48abe
src/server.jshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421/files/e7d1133738a67b472a9b4c010ad2bec93c04e085#diff-79f4c7cdc0b026f6e556196f5911a449157807cffdb3f9d33f0b5404b4ffc2f3
https://github.com/melvincarvalho
Address copilot pass 2 onhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421/commits/922050115d361095b6c8bb975a8f63875fb9d1d1
#421https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421
— doc cleanupshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421/commits/922050115d361095b6c8bb975a8f63875fb9d1d1
9220501https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421/commits/922050115d361095b6c8bb975a8f63875fb9d1d1
https://github.com/melvincarvalho
melvincarvalhohttps://github.com/melvincarvalho
Copilothttps://github.com/apps/copilot-pull-request-reviewer
May 12, 2026 04:08https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421#event-25412629655
started reviewinghttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/sessions/75aa8686-d78f-487b-a531-ddfd38a91890
melvincarvalhohttps://github.com/melvincarvalho
May 12, 2026 04:08https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421#event-25412641432
View session https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/sessions/75aa8686-d78f-487b-a531-ddfd38a91890
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
May 12, 2026 https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421#pullrequestreview-4269055064
View reviewed changes https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421/files/922050115d361095b6c8bb975a8f63875fb9d1d1
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421#pullrequestreview-4269055064
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421
https://github.com/melvincarvalho
melvincarvalhohttps://github.com/melvincarvalho
1ee75c7https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/commit/1ee75c7f7fa21052f26df0c2855857d595a8ccda
May 12, 2026https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421#event-25412756256
Please reload this pagehttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421
https://github.com/melvincarvalho
melvincarvalhohttps://github.com/melvincarvalho
May 12, 2026 04:13https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421#event-25412757726
https://github.co/hiddenchars
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/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%2FJavaScriptSolidServer%2FJavaScriptSolidServer%2Fpull%2F421
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/JavaScriptSolidServer/JavaScriptSolidServer/pull/421/files/922050115d361095b6c8bb975a8f63875fb9d1d1
Please reload this pagehttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421
CORS headers missing on Fastify-level error responses (FST_ERR_BAD_URL et al) https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/376
Please reload this pagehttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/421
https://github.com/melvincarvalho
https://github.com/apps/copilot-pull-request-reviewer
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.