mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-12-03 13:11:05 +00:00
readSSEEndpoint accepted any absolute URL, and legacyRoundTrip copied every configured header (Authorization included) to it. Resolve the announced endpoint against the configured SSE URL, refuse a different scheme, host or effective port, refuse userinfo, and apply the same origin check to every redirect hop for both the legacy SSE and Streamable HTTP clients. |
||
|---|---|---|
| .. | ||
| client.go | ||
| client_sse_test.go | ||
| client_test.go | ||