mirror of
https://github.com/Kong/insomnia.git
synced 2026-08-03 19:32:31 -04:00
assertResponseBodyPathReadOwnership only confirmed a supplied bodyPath belonged to *some* persisted response, so a caller supplying a real response id alongside a different, real response's bodyPath still read that other response's body. When an id is supplied, re-load the response server-side and read only its own bodyPath, ignoring the caller's; fall back to the existing bodyPath-ownership check when no id is available (the pre-persistence response-hook call site). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>