Commit 2876c90
committed
fix(api/v2): always bind the internal-dispatch marker
The marker was only ever set, never cleared, so a dispatch with no parent echo
context would inherit an outer dispatch's route instead of failing closed as its
comment claimed. Write the key unconditionally and let shouldSkipRouteCheck's
non-empty guard reject the unbound case.
Address pr-swarm finding: security1 parent 441eac0 commit 2876c90
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
| 73 | + | |
75 | 74 | | |
76 | | - | |
| 75 | + | |
77 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
78 | 80 | | |
79 | 81 | | |
80 | 82 | | |
| |||
0 commit comments