Allow getmetatable in CSM (#12776)

This commit is contained in:
Jude Melton-Houghton
2022-09-18 11:32:18 -04:00
committed by GitHub
parent c9ed059d91
commit 6f5a68b7f7

View File

@ -292,7 +292,7 @@ void ScriptApiSecurity::initializeSecurityClient()
"rawset", "rawset",
"select", "select",
"setfenv", "setfenv",
// getmetatable can be used to escape the sandbox <- ??? "getmetatable",
"setmetatable", "setmetatable",
"tonumber", "tonumber",
"tostring", "tostring",