Loading
HttpCtrl: parameterised-request stub matching keys on the exact path
The 'broker may append parameters' branch matched stubs by checking that the urn segments of the stub's last path component appear somewhere in the request URL — it never compared the path prefix. With two stubs for the same entity id behind different prefixes (/broker1/... and /broker2/..., the standard two-CSR redirect layout), the first stub matched BOTH forwards: its count doubled, the sibling stayed at 0, and the response merge received the first stub's body twice (D010_01_red: 'Get Stub Count' 2/0 against expected 1/1, and $.isParked2 absent). The branch now requires the stub's path to equal the request's path (query string ignored, percent-encoding normalised, trailing slashes stripped) — same comparison the parameterless branch already uses.