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
fix(connectors): follow-up hardening for callApi (#256) (#261)
- Percent-encode caller-supplied integration types and connector IDs in
request URLs, so a runtime-built identifier can only select a
connector, never re-target another route under the privileged token
- Type ConnectorApiResponse.data as T | null to match the documented
and implemented contract (null for binary and proxy-error responses)
- Treat host: null like undefined when omitting the host field, since
untyped callers write `host: x ?? null`
- Add nock.disableNetConnect() to the proxy tests so interceptor
mismatches fail fast instead of escaping as real network requests
- Run test:types in CI so the type-contract tests are enforced
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
0 commit comments