Skip to content

v0.27.8

Choose a tag to compare

@yuanhao yuanhao released this 12 Nov 22:59
· 2 commits to main since this release
c61b55c

One security fix, no breaking changes. yoagent-rutis (0.13.0) and yoagent-workers (0.4.0) are unchanged.

  • Provider requests no longer follow a redirect to another host. A provider answering with a redirect to another origin had the request re-sent there with every header except Authorization, Cookie and Proxy-Authorization. That carried the key from Anthropic (x-api-key), Azure (api-key), Gemini (x-goog-api-key), Bedrock's session token (x-amz-security-token) and any credential in ModelConfig::headers; a 307 or 308 carried the whole prompt too, on every retry. Every provider and decision backend now follows redirects only within the request's own origin (scheme, host and port), as the MCP HTTP transport already did by default. A redirect elsewhere fails at once, naming the other origin, and is not retried. Native targets only: on wasm32 the host's fetch follows redirects itself. (#451)