mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 10:01:00 +01:00
A duplicate collection name raised a 500. Names compare case-insensitively in the database, so "TRUE" collides with "True". Return 409 instead, as the existing test's name already said. Memory card name and emulator, and the RetroAchievements username, had no length check before the insert, so an overlong value failed in the database with a 500. Validate them against their column lengths, which returns 422.