Skip to content

Bug/1876 mom import failing#1880

Merged
Quantumrunner merged 10 commits into
masterfrom
bug/1876MoMImportFailing
Jun 20, 2026
Merged

Bug/1876 mom import failing#1880
Quantumrunner merged 10 commits into
masterfrom
bug/1876MoMImportFailing

Conversation

@Quantumrunner

@Quantumrunner Quantumrunner commented Jun 20, 2026

Copy link
Copy Markdown
Collaborator

…unsubscribing before subscribing (-= OnLogMessage followed by += OnLogMessage).
- Removed the "Download Latest ZIP" button across all localized `index*.html` files.
- Renamed the remaining Windows download button text to "Download Latest" (or its localized equivalent).
- This ensures users default to downloading the `.exe` installer and reduces confusion, as users previously mistook the `.zip` download for a ZIP import file.
- Added filename validation to ensure users select the correct `.zip` file for the specific game (e.g. `ImportDesktop_Descent.zip` or `ImportAndroid_Descent.zip` for Descent).
- Added an initial check to verify the ZIP archive contains the required `import.ini` file before extraction.
- Introduced localized error messages (`ERROR_INVALID_ZIP_NAME`, `ERROR_MISSING_IMPORT_INI`) across all translation files to provide clear feedback when validation fails.
using (ZipArchive archive = new ZipArchive(reader.BaseStream, ZipArchiveMode.Read))
{
List<string> splitFiles = new List<string>();
// register all files before parsing the assets so that the external references can be found
Comment thread libraries/FFGAppImport/AssetImport/AssetStudio/AssetsManager.cs Fixed
…rity/code-scanning/2

>Arbitrary file access during archive extraction ("Zip Slip")
Unsanitized archive entry, which may contain '..', is used in a file system operation.
Unsanitized archive entry, which may contain '..', is used in a file system operation.

Extracting files from a malicious zip file, or similar type of archive, is at risk of directory traversal attacks if filenames from the archive are not properly validated.
@Quantumrunner Quantumrunner changed the title Bug/1876 mo m import failing Bug/1876 mom import failing Jun 20, 2026
@Quantumrunner Quantumrunner merged commit b0d6231 into master Jun 20, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants