mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 10:01:00 +01:00
* fix(export): fold line breaks in Pegasus metadata values ROM names, developers, publishers, genres and other single-line values were written verbatim, so a line break in one of them started a new top-level field in metadata.pegasus.txt (for example a per-game launch command). Fold line breaks into spaces for every single-line field. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(export): fold Pegasus asset paths and reject control characters in uploads Asset references are built from the ROM's file name, which the upload path accepted with embedded line breaks, so they could still start a new field in metadata.pegasus.txt. Fold assets.* values like every other single-line field, and refuse upload file and folder names that carry control characters. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>