René's URL Explorer Experiment


Title: fix(clef-proxy): malformed client JSON is a 400, not a 500 (#690) by dezren39 · Pull Request #691 · developing-today/code · GitHub

Open Graph Title: fix(clef-proxy): malformed client JSON is a 400, not a 500 (#690) by dezren39 · Pull Request #691 · developing-today/code

X Title: fix(clef-proxy): malformed client JSON is a 400, not a 500 (#690) by dezren39 · Pull Request #691 · developing-today/code

Description: Contribute to developing-today/code development by creating an account on GitHub.

Open Graph Description: Fixes #690. bin/clef-proxy.mjs: client body is parsed in its own try — malformed JSON and non-object bodies now return 400 like every sibling proxy, instead of the 500 from the shared upstream cat...

X Description: Fixes #690. bin/clef-proxy.mjs: client body is parsed in its own try — malformed JSON and non-object bodies now return 400 like every sibling proxy, instead of the 500 from the shared upstream cat...

Opengraph URL: https://github.com/developing-today/code/pull/691

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:b29fee86-d2b4-1809-8e96-ec63e60ee61d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBC80:36611F:D61487:11475CD:6B064389
html-safe-nonce365142be8a600897f63d9a1d8e715303084cf1f1e2c7916767f312e1d691e548
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzgwOjM2NjExRjpENjE0ODc6MTE0NzVDRDo2QjA2NDM4OSIsInZpc2l0b3JfaWQiOiI2MTU5ODI1NDQ5NDA1ODE3NjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac85579416526763ae22172e01ffced16ae4e7cd2189a2bede204066ee5b466a91
hovercard-subject-tagpull_request:4989576390
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/developing-today/code/691/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/67680f18c40bf8a816dc2fcf0496f85fe4f135f3cd0307697bd7f0967f51b319/developing-today/code/pull/691
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/67680f18c40bf8a816dc2fcf0496f85fe4f135f3cd0307697bd7f0967f51b319/developing-today/code/pull/691
og:image:altFixes #690. bin/clef-proxy.mjs: client body is parsed in its own try — malformed JSON and non-object bodies now return 400 like every sibling proxy, instead of the 500 from the shared upstream cat...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
None1bff4f6bfaa96dc9c42cacf315424c24ebb548b06142ced5e3aaccb2a42dd652
turbo-cache-controlno-cache
go-importgithub.com/developing-today/code git https://github.com/developing-today/code.git
octolytics-dimension-user_id26439447
octolytics-dimension-user_logindeveloping-today
octolytics-dimension-repository_id627308783
octolytics-dimension-repository_nwodeveloping-today/code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627308783
octolytics-dimension-repository_network_root_nwodeveloping-today/code
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
releaseac613d3698d3d8565651455086e1f74da07bf277
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/developing-today/code/pull/691#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fpull%2F691
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%2Fdeveloping-today%2Fcode%2Fpull%2F691
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=developing-today%2Fcode
Reloadhttps://github.com/developing-today/code/pull/691
Reloadhttps://github.com/developing-today/code/pull/691
Reloadhttps://github.com/developing-today/code/pull/691
developing-todayhttps://github.com/developing-today
codehttps://github.com/developing-today/code
Codehttps://github.com/developing-today/code
Issues1.1k (1.1k)https://github.com/developing-today/code/issues
Pull requests169 (169)https://github.com/developing-today/code/pulls
Discussionshttps://github.com/developing-today/code/discussions
Actionshttps://github.com/developing-today/code/actions
Projectshttps://github.com/developing-today/code/projects
Wikihttps://github.com/developing-today/code/wiki
Security and qualityhttps://github.com/developing-today/code/security
Insightshttps://github.com/developing-today/code/insights
https://github.com/developing-today/code
dezren39https://github.com/dezren39
mainhttps://github.com/developing-today/code/tree/main
creator/690-clef-json-400https://github.com/developing-today/code/tree/creator/690-clef-json-400
Conversationhttps://github.com/developing-today/code/pull/691
Commits1 (1)https://github.com/developing-today/code/pull/691/commits
Checkshttps://github.com/developing-today/code/pull/691/checks
Files changedhttps://github.com/developing-today/code/pull/691/files
fix(clef-proxy): malformed client JSON is a 400, not a 500 (#690)https://github.com/developing-today/code/pull/691#top
dezren39https://github.com/dezren39
mainhttps://github.com/developing-today/code/tree/main
creator/690-clef-json-400https://github.com/developing-today/code/tree/creator/690-clef-json-400
https://github.com/dezren39
dezren39https://github.com/dezren39
Oct 23, 2026https://github.com/developing-today/code/pull/691#issue-6005831280
Please reload this pagehttps://github.com/developing-today/code/pull/691
#690https://github.com/developing-today/code/issues/690
https://app.blacksmith.sh/developing-today/codesmith/code/pr/691?autoLogin=true&ref=codesmith_pr_footer
https://backend.blacksmith.sh/track/enable-autofix?expires=1795383514&installation_model_id=443529&pr_number=691&ref=codesmith_pr_footer&repository=developing-today%2Fcode&return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fpull%2F691&signature=50683c33d600a3ea556f0bf592aa82383947d7bfacd4fcf26ee5c1e769dc321d
Please reload this pagehttps://github.com/developing-today/code/pull/691
fix(clef-proxy): malformed client JSON is a 400, not a 500 (https://github.com/developing-today/code/pull/691/commits/02183adb78c00e20fab4bebb2e7100a6f4e58bcc
#690https://github.com/developing-today/code/issues/690
)https://github.com/developing-today/code/pull/691/commits/02183adb78c00e20fab4bebb2e7100a6f4e58bcc
02183adhttps://github.com/developing-today/code/pull/691/commits/02183adb78c00e20fab4bebb2e7100a6f4e58bcc
https://github.com/dezren39
dezren39https://github.com/dezren39
code ownerhttps://github.com/developing-today/code/blob/4f905d75b101e37057a8ddc96249a02123d28406/.github/CODEOWNERS#L1
October 23, 2026 21:38https://github.com/developing-today/code/pull/691#event-34093865514
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
dezren39https://github.com/dezren39
Oct 23, 2026https://github.com/developing-today/code/pull/691#event-34093873029
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Oct 23, 2026https://github.com/developing-today/code/pull/691#issuecomment-6375256817
Please reload this pagehttps://github.com/developing-today/code/pull/691
Your team has set up Codex to review pull requests in this repohttps://chatgpt.com/codex/cloud/settings/general
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/developing-today/code/pull/691
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Oct 23, 2026https://github.com/developing-today/code/pull/691#issuecomment-6375261585
https://app.coderabbit.ai/change-stack/developing-today/code/pull/691?cs_source=review_comment
4f905d7https://github.com/developing-today/code/commit/4f905d75b101e37057a8ddc96249a02123d28406
02183adhttps://github.com/developing-today/code/commit/02183adb78c00e20fab4bebb2e7100a6f4e58bcc
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=developing-today/code&utm_content=691
Xhttps://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai
Mastodonhttps://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai
Reddithttps://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code
Please reload this pagehttps://github.com/developing-today/code/pull/691
https://github.com/dezren39
dezren39https://github.com/dezren39
8e05af2https://github.com/developing-today/code/commit/8e05af24341b321779851bc824177b14cfd57b9f
Oct 23, 2026https://github.com/developing-today/code/pull/691#event-34093945448
Please reload this pagehttps://github.com/developing-today/code/pull/691
https://github.com/dezren39
dezren39https://github.com/dezren39
October 23, 2026 21:39https://github.com/developing-today/code/pull/691#event-34093947476
clef-proxy: the upstream half of PR #691's fix has no regression test — and the hardcoded gateway URL makes it untestable #692 https://github.com/developing-today/code/issues/692
clef-proxy: client-supplied model is interpolated into the upstream URL unvalidated — any @cf/* model runs, and ../ and ? payloads rewrite the gateway path/query #2410 https://github.com/developing-today/code/issues/2410
https://github.com/dezren39
dezren39https://github.com/dezren39
Oct 31, 2026 https://github.com/developing-today/code/pull/691#ref-pullrequest-6137941465
test(clef-proxy): CLEF_PROXY_GATEWAY_BASE seam + upstream guard regression tests (#692) #3172 https://github.com/developing-today/code/pull/3172
https://github.com/dezren39
dezren39https://github.com/dezren39
Nov 21, 2026 https://github.com/developing-today/code/pull/691#ref-issue-6266940638
Closure audit: every closed issue/PR verified; unmerged branches + unpushed worktrees inventoried #7079 https://github.com/developing-today/code/issues/7079
https://github.com/apps/developing-today-fleet
developing-today-fleethttps://github.com/apps/developing-today-fleet
Nov 24, 2026 https://github.com/developing-today/code/pull/691#ref-issue-6005817347
clef-proxy: invalid client JSON returns 500 instead of 400 — body parse shares the upstream try/catch, non-JSON upstream is masked, and there are no tests #690 https://github.com/developing-today/code/issues/690
https://github.com/dezren39
dezren39https://github.com/dezren39
Nov 24, 2026 https://github.com/developing-today/code/pull/691#ref-issue-6571480708
AUDIT-7 Lane 2 — Closed-Issues Review (past month, since 2026-10-23) #13878 https://github.com/developing-today/code/issues/13878
https://github.co/hiddenchars
https://github.com/developing-today/code/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%2Fdeveloping-today%2Fcode%2Fpull%2F691
Please reload this pagehttps://github.com/developing-today/code/pull/691
https://github.com/dezren39
dezren39 https://github.com/dezren39
clef-proxy: invalid client JSON returns 500 instead of 400 — body parse shares the upstream try/catch, non-JSON upstream is masked, and there are no tests https://github.com/developing-today/code/issues/690
Please reload this pagehttps://github.com/developing-today/code/pull/691
https://github.com/dezren39
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.