Project story

Microsoft Semantic Kernel: checking the destination before sending

An allowlist check and its HTTP client disagreed about where a request would go.

What broke

Semantic Kernel checked whether a URL started with an allowed base path. The HTTP client normalized the path before sending it, so the validator could approve a destination outside the configured boundary.

How I tested it

I compared validator decisions with paths produced by httpx and covered both allowed destinations and paths that should be rejected. Runner tests also check that a rejection happens before authentication or network dispatch.

What the maintainer merged

On November 2, 2026, eavanvalkenburg merged the validator change. It checks the normalized path boundary before the OpenAPI runner proceeds and preserves valid paths, including meaningful empty segments.