Skip to content

Fix nil pointer panic in token vending error responses under HTTPS/MITM - #26

Merged
bbrowning merged 1 commit into
mainfrom
chatgpt-mitm-nil
Jul 17, 2026
Merged

Fix nil pointer panic in token vending error responses under HTTPS/MITM#26
bbrowning merged 1 commit into
mainfrom
chatgpt-mitm-nil

Conversation

@bbrowning

Copy link
Copy Markdown
Owner

errorResponse() didn't set resp.Request, causing goproxy's handleHttps to panic on resp.Request.Method when returning errors for CONNECT-tunneled requests (e.g. LOGIN_SANITIZE rejections to auth.openai.com).

errorResponse() didn't set resp.Request, causing goproxy's handleHttps
to panic on resp.Request.Method when returning errors for CONNECT-tunneled
requests (e.g. LOGIN_SANITIZE rejections to auth.openai.com).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@bbrowning
bbrowning merged commit efc0fe8 into main Jul 17, 2026
6 checks passed
@bbrowning
bbrowning deleted the chatgpt-mitm-nil branch July 17, 2026 21:35
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