mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
/start checked that the caller could see the platform, but /complete wrote into the platform folder using the fs_slug cached in the upload session. An Editor who opened a session before an admin hid the platform could still finish it during the 24h session TTL. Completion now re-resolves the platform through the same helper /start uses, so a hidden or deleted platform answers "Platform not found" and the staged chunks are cleaned up. The session no longer caches the fs_slug; the folder comes from the platform's current row. The ROM-folder branch already rechecked ROM visibility at completion. Claude-Session: https://claude.ai/code/session_011waFLHbQCsqHfeX1CKGZ7s Co-authored-by: Claude <noreply@anthropic.com>