revert "prevent DCE"

This commit is contained in:
cyn 2024-11-06 23:42:15 -08:00
parent c28ce60738
commit 8d64fe0340
No known key found for this signature in database
GPG key ID: 56FB777DD9A4B6B0

View file

@ -18,7 +18,7 @@ using StringTools;
/**
* Utilities for reading and writing files on various platforms.
*/
@:keep class FileUtil
class FileUtil
{
public static final FILE_FILTER_FNFC:FileFilter = new FileFilter("Friday Night Funkin' Chart (.fnfc)", "*.fnfc");
public static final FILE_FILTER_JSON:FileFilter = new FileFilter("JSON Data File (.json)", "*.json");
@ -962,7 +962,7 @@ using StringTools;
* Utilities for reading and writing files on various platforms.
* Wrapper for `FileUtil` that sanitizes paths for script safety.
*/
@:keep class FileUtilSandboxed
class FileUtilSandboxed
{
/**
* Prevent paths from exiting the root.