Remove insecure environment from async and emerge environment

This commit is contained in:
sfan5 2024-02-14 12:04:21 +01:00
parent 6cbb9193ea
commit cb5fa56e17
2 changed files with 1 additions and 3 deletions

@ -6572,7 +6572,6 @@ Class instances that can be transferred between environments:
Functions:
* Standalone helpers such as logging, filesystem, encoding,
hashing or compression APIs
* `minetest.request_insecure_environment` (same restrictions apply)
Variables:
* `minetest.settings`
@ -6641,7 +6640,6 @@ Classes:
Functions:
* Standalone helpers such as logging, filesystem, encoding,
hashing or compression APIs
* `minetest.request_insecure_environment` (same restrictions apply)
* `minetest.get_biome_id`, `get_biome_name`, `get_heat`, `get_humidity`,
`get_biome_data`, `get_mapgen_object`, `get_mapgen_params`, `get_mapgen_edges`,
`get_mapgen_setting`, `get_noiseparams`, `get_decoration_id` and more

@ -765,7 +765,7 @@ void ModApiUtil::InitializeAsync(lua_State *L, int top)
API_FCT(get_dir_list);
API_FCT(safe_file_write);
API_FCT(request_insecure_environment);
// no request_insecure_environment here! mod origins are not tracked securely here.
API_FCT(encode_base64);
API_FCT(decode_base64);