MCP strict_redirect_headers enforcement bug and fix
Cluster 115155. Data as of
Nothing open on GitHub. Fix merged in #116738 on 20 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #116738. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #116738. That is separate from the fix event. - Still open
- Nothing open on GitHub.
A bug was identified where strict_redirect_headers failed to strip configured headers on cross-origin redirects, including the MCP preflight probe. Related fixes address enforcing this stripping behavior correctly.
Open issues0
Open PRs0
Fixes on record
-
#116738 fix(mcp): strict_redirect_headers really strips configured headers on cross-origin redirects, preflight probe included (#115155, salvage #115158)
files:
tests/tools/test_mcp_preflight_content_type.py,tests/tools/test_mcp_tool.py,tools/mcp_tool_errors.py,tools/mcp_tool_server_run.py,tools/mcp_tool_transport.py
1 PR closed without merging
From the close comments: merged via another change 1
-
#115158 fix(mcp): enforce strict_redirect_headers on redirects and the preflight probe · merged via another change →
3ac4f26,#116738,#115155,#115158
Closed issues · 1
- Closed#115155[Bug]: strict_redirect_headers never strips configured headers — dead response hook — and MCP preflight probe leaks configured headers across redirects
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Merged PRs
- #116738
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 20 Sep 2026