Repository navigation
Commit 46d4150
authored
#2398 stopped relaying attacker-controlled error prefixes: an oversized upstream body now
becomes #452's bounded status-only JSON instead of being passed through. It added
"oversized passthrough errors become bounded status-only JSON" to assert exactly that,
but left this test asserting the opposite -- that the original 65 KiB body comes back
verbatim. Both were green on their own branches and only collide on dev, because CI tests
the PR head rather than the merge result.
The invariant this test exists for is unchanged and still asserted: an oversized 400 does
not authorize a pool retry, so exactly one account is dispatched and neither is marked
unhealthy. Only the body expectation moves, and it now also asserts the hostile suffix
does not reach the client.
1 parent c9d10ed commit 46d4150
1 file changed
Lines changed: 20 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2957 | 2957 | | |
2958 | 2958 | | |
2959 | 2959 | | |
| 2960 | + | |
| 2961 | + | |
| 2962 | + | |
| 2963 | + | |
| 2964 | + | |
| 2965 | + | |
| 2966 | + | |
| 2967 | + | |
| 2968 | + | |
| 2969 | + | |
| 2970 | + | |
| 2971 | + | |
2960 | 2972 | | |
2961 | | - | |
| 2973 | + | |
| 2974 | + | |
2962 | 2975 | | |
2963 | 2976 | | |
2964 | | - | |
| 2977 | + | |
| 2978 | + | |
| 2979 | + | |
| 2980 | + | |
| 2981 | + | |
| 2982 | + | |
2965 | 2983 | | |
2966 | 2984 | | |
2967 | 2985 | | |
| |||
0 commit comments