You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: blank screen on excalibur/lady phases, XSS via player name, excalibur phase checks
- Room.tsx: render GameView on 'excalibur-usage' and 'lady-of-the-lake' phases (game froze on blank screen)
- GameView: replace dangerouslySetInnerHTML with <Trans> (player names are untrusted; i18n has escapeValue:false)
- server: require phase 'excalibur-usage' in use/skip-excalibur (holder could resolve mission with partial votes); forbid self-target; reset holder on team rejection
- session: key sessionToken by room code (joining 2nd room broke reconnection to 1st); save token on QR/link join (Room.tsx never stored it)
- ids via crypto.randomUUID instead of Math.random
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments