Files
romm/backend/tests/utils
Georges-Antoine Assi 72cb59ecac fix(roms): list the plain filename first in Content-Disposition
EmulatorJS's nightly build (loaded when netplay is on) names a downloaded
ROM with /filename="?([^";]+)"?/ against Content-Disposition. With
filename* first, that matched "*=UTF-8''xmcota.zip", so FBNeo and the MAME
cores, which identify a romset by its file name, reported an unknown
romset. The nightly now keeps arcade zips whole, so the name is all that
still broke them.

RFC 6266 appendix D asks for filename before filename* for this reason;
browsers still prefer filename*. The header is built by one helper now,
and ZipResponse takes the raw name so it is encoded once.

Fixes #3279

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-29 08:40:29 -04:00
..
2026-04-02 10:21:43 -04:00