fix(multiplayer): validate contract ticket input

This commit is contained in:
Josh Creek
2026-09-01 22:59:57 +01:00
parent badd0b1b47
commit 6a9b269798
3 changed files with 21 additions and 0 deletions
+2
View File
@@ -1615,6 +1615,8 @@ Queue responses now validate the complete published shape before projection: opa
The public `/api/v1` route adapters now reject non-opaque queue, proposal, assignment, and server path identifiers before delegating to the legacy handlers; adversarial route tests cover short and separator-bearing IDs.
The public queue adapter also rejects an explicitly supplied short or unsafe `ticket_id`; omitted IDs continue to be deterministically server-assigned for idempotent retries.
Signed MatchNet claims now also require exact JSON string/integer types for every identity, protocol, expiry, slot, team, and generation field; string-number coercion is rejected before canonical signature verification.
Presentation progress: a shared `Game/themes/cosmic_clash_theme.tres` now gives the menu, lobby, matchmaking, and settings surfaces consistent button, input, option, and label styling. The custom-font portion of `TODO.md` remains open until a distributable font asset is selected.