From a3a7b8847c8f42d25526319e9540a535ce2fb348 Mon Sep 17 00:00:00 2001 From: ineed bots Date: Sun, 12 May 2024 11:43:16 -0600 Subject: [PATCH] note --- src/component/fileio.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/component/fileio.cpp b/src/component/fileio.cpp index c3d3b2f..6ca4134 100644 --- a/src/component/fileio.cpp +++ b/src/component/fileio.cpp @@ -62,6 +62,7 @@ namespace fileio game::Scr_ParamError(0, game::SCRIPTINSTANCE_SERVER, utils::string::va("Invalid path: %s", path_.c_str())); } + // its sandboxed, but what about symlinks? return path.starts_with("scriptdata/") ? path : "scriptdata/" + path; }