Skip to content

fix: drop unsafe account id claims and repair content-type on query URLs - #19

Merged
TheGreatAxios merged 1 commit into
cl-9408-codex-provider-align-repo-scaffolding-with-the-packagefrom
cl-9456-codex-provider-harden-claims-and-content-type
Sep 27, 2026
Merged

TheGreatAxios merged 1 commit into
cl-9408-codex-provider-align-repo-scaffolding-with-the-packagefrom
cl-9456-codex-provider-harden-claims-and-content-type

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor
  • An account id claim carrying CR, LF or NUL is treated as absent, so chatgpt-account-id is omitted.
  • Content-type repair matches on the URL pathname, so query strings still repair; an empty content-type counts as missing.

Tests added first and failed before the fix.

Closes CL-9456

An account id claim carrying CR, LF or NUL is treated as absent, so the chatgpt-account-id header is omitted. Content-type repair matches on the URL pathname so query strings still repair, and treats an empty content-type as missing.
@TheGreatAxios
TheGreatAxios added this pull request to stack #18 September 27, 2026 02:12
@TheGreatAxios
TheGreatAxios merged commit 88de01f into main Sep 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant