mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-13 05:12:06 +00:00
fix(multiplayer): validate server event resource ids
This commit is contained in:
@@ -1565,4 +1565,6 @@ WebSocket event envelopes now require RFC3339 timestamps rather than merely non-
|
||||
|
||||
WebSocket event resource identifiers now enforce the contract’s opaque 16–128 character allowlist, preventing path/separator text or undersized identifiers from entering the client projection.
|
||||
|
||||
The Go event hub now enforces the same resource-ID allowlist before publication, so malformed identifiers are rejected at the server boundary rather than only discarded by clients.
|
||||
|
||||
The matchmaking UI now displays the authoritative proposal countdown from the server expiry epoch, clamped at zero and retaining compatible copy when older responses omit expiry metadata. Adversarial countdown tests cover delayed and missing-expiry responses.
|
||||
|
||||
Reference in New Issue
Block a user