fix(fetch): apply proxy.bypass to redirect targets - #42848
Conversation
The proxy agent was chosen once from the original URL and reused for every redirect hop, so a redirect target was proxied or bypassed based on the first URL instead of its own host. Resolve the agent per hop. Fixes: microsoft#42815
… agent Derive all URL-scoped request options in one place in _sendRequest and drop the unused agent field from the redirect options type.
Test results for "tests 1"9 flaky52084 passed, 1252 skipped Merge workflow run. |
Test results for "MCP"2 failed 8690 passed, 1474 skipped Merge workflow run. |
|
Hi, I am the Playwright bot and I took a first look at the red CI here. 🟢 Both failures are known flakes — this PR is clear
DetailsThis PR touches Pre-existing flake / infra
Triaged by the Playwright bot - agent run |
0d4732e
into
microsoft:main
Summary
proxy.bypassapplies to redirect targets.Fixes #42815