-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Labels
platform: androidSpecific to Android and other Android-based Mobile platforms.Specific to Android and other Android-based Mobile platforms.status: pending triageAwaiting review.Awaiting review.type: minor bugInvolves a minor bug or issue.Involves a minor bug or issue.
Description
Issue Checklist
- I have read the Contributing Guide
- I have checked the Issues/Discussions pages to see if my issue has already been reported
- I have properly titled my issue
- I did not have any mods installed when I encountered this issue
Platform
Android
Browser
None
Mobile Device Model
Xiaomi Redmi 12
Mobile OS Version
Android 15
Version
0.8.3
Description (include any images, videos, errors, or crash logs)
FileUtilSandboxed.sanitizePath() method always returns "/system/bin" on android targets.
Due to this bug, all methods which call sanitizePath() in FileUtilSandboxed fail to function properly on android targets.
Steps to Reproduce
- create a .hxc file in any mod dir with the following content:
import funkin.modding.module.Module;
import funkin.util.FileUtilSandboxed;
import funkin.util.WindowUtil;
class BugShowcase extends Module
{
function onCreate(event:onCreateScriptEvent):Void
{
super.onCreate(event);
WindowUtil.showInformation('INFO', FileUtilSandboxed.sanitizePath("week1:week-12-leak.jpg"));
}
}
- Launch Friday Night Funkin'
- Observe incorrect path returned via a dialog box on boot.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
platform: androidSpecific to Android and other Android-based Mobile platforms.Specific to Android and other Android-based Mobile platforms.status: pending triageAwaiting review.Awaiting review.type: minor bugInvolves a minor bug or issue.Involves a minor bug or issue.