Files
HBlink4/tests
cortandClaude Opus 4.7 db31900832 fix: honor empty TS1=/TS2= in RPTO as explicit deny-all
The receive-side options parser collapsed an empty TS slot value into
"slot not mentioned," causing the resolver to fall back to the configured
default TGs. So `TS1=;TS2=3120` was indistinguishable from `TS2=3120` and
both left TS1 on the configured defaults — contradicting the documented
behavior.

Track seen_ts1/seen_ts2 separately from the requested set so an empty
list is honored as deny-all while a missing slot keeps falling back to
config. Wildcard (`TS1=*`) still means "not specified."

Replaces the inline parser re-implementation in test_rpto_parsing with a
real test that drives HBProtocol._handle_options through a stub, so this
class of bug can't slip past the tests again.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-06 07:22:29 -05:00
..