mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-15 19:52:50 +03:00
resolveProxyForRequest() returned the AsyncLocalStorage context proxy without consulting NO_PROXY, so domains listed in NO_PROXY were still routed through the proxy, bypassing the user's explicit bypass directive. The fix adds a noProxyMatch() check before returning the context proxy, matching the behavior that already existed in the env-proxy path (resolveEnvProxyUrl). - Added noProxyMatch check in context-proxy path - Tests: 9551-proxyfetch-no-proxy-context-bypass.test.ts (RED->GREEN confirmed) Gates: typecheck (pre-existing), eslint OK, complexity OK, cognitive OK