This is the record of an abcd-managed repository

abcdBetav0.16.2 · 2026-11-06

Development record

The OpenAI-compatible client admits a plain-http base URL to LOCALHOST (or any case other than lower) through its case-insensitive loopback check, but net/http's proxy exclusion compares the host with localhost case-sensitively, so with HTTP_PROXY set the call is proxied and the bearer key crosses the proxy in cleartext, against the package doc and the adapters chapter, which say a call to this machine is never proxied.

issueresolvedminoriss-2609260958580553

The OpenAI-compatible client admits a plain-http base URL to LOCALHOST (or any case other than lower) through its case-insensitive loopback check, but net/http's proxy exclusion compares the host with localhost case-sensitively, so with HTTP_PROXY set the call is proxied and the bearer key crosses the proxy in cleartext, against the package doc and the adapters chapter, which say a call to this machine is never proxied.

Grounds

  • pursued: no spelling of localhost sends a call through HTTP_PROXY or HTTPS_PROXY; shown wrong by a base URL to this machine that a fake proxy sees, which TestALocalhostBaseURLIsNeverProxiedWhateverItsCase would then fail on

Frontmatter

idiss-2609260958580553
typeissue
lifecycleresolved
severityminor