Core: Rebuild REST cached tables with current context#15954
Core: Rebuild REST cached tables with current context#15954manuzhang wants to merge 1 commit intoapache:mainfrom
Conversation
4be5f29 to
1d8f408
Compare
Co-authored-by: Codex <codex@openai.com>
1d8f408 to
d7707bd
Compare
|
Hey @manuzhang , |
|
@gaborkaszab This is an issue exposed by Codex Security Scan, which I manually checked and validated. I get your point that it might not a real issue in the production environment and the fix might be overkill. Let me think more about it. |
This PR fixes a context-leak risk in REST table caching: after a 304 response, callers now get tables rebuilt with their own current auth/context rather than reusing potentially stale context captured by the original cached supplier.
Co-authored-by: @codex