You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 144ddf4
Browse filesBrowse the repository at this point in the historyBrowse files
authored
fix(server): allow POST /v1/alpha/search on the loopback listener (lidge-jun#3205)
The unauthenticated loopback listener admits routes through an allowlist
in loopbackRouteAllowed(). /v1/alpha/search - the native Codex web-search
relay - was never on it, so a directly-spawned codex app-server got 404
for every web search (lidge-jun#3192).
Admit POST on that path. The handler runs its own admission
(resolveApiAuth + validateForwardAdmissionCredential), so a loopback
caller without a ChatGPT credential is still refused inside the relay;
only the listener's 404 goes away. The public listener is unchanged.
Clean reimplementation of lidge-jun#3193, whose branch was byte-corrupted by an
encoding round-trip (em-dashes and emoji in ~30 unrelated comment lines).
Supersedes lidge-jun#3193. Fixeslidge-jun#3192.
Co-authored-by: jun <[email protected]>
Co-authored-by: alan7629 <[email protected]>
0 commit comments