mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-11-22 16:10:53 +08: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.