forked from Mirrorlandia_minetest/minetest
Remove insecure environment from async and emerge environment
This commit is contained in:
parent
6cbb9193ea
commit
cb5fa56e17
@ -6572,7 +6572,6 @@ Class instances that can be transferred between environments:
|
|||||||
Functions:
|
Functions:
|
||||||
* Standalone helpers such as logging, filesystem, encoding,
|
* Standalone helpers such as logging, filesystem, encoding,
|
||||||
hashing or compression APIs
|
hashing or compression APIs
|
||||||
* `minetest.request_insecure_environment` (same restrictions apply)
|
|
||||||
|
|
||||||
Variables:
|
Variables:
|
||||||
* `minetest.settings`
|
* `minetest.settings`
|
||||||
@ -6641,7 +6640,6 @@ Classes:
|
|||||||
Functions:
|
Functions:
|
||||||
* Standalone helpers such as logging, filesystem, encoding,
|
* Standalone helpers such as logging, filesystem, encoding,
|
||||||
hashing or compression APIs
|
hashing or compression APIs
|
||||||
* `minetest.request_insecure_environment` (same restrictions apply)
|
|
||||||
* `minetest.get_biome_id`, `get_biome_name`, `get_heat`, `get_humidity`,
|
* `minetest.get_biome_id`, `get_biome_name`, `get_heat`, `get_humidity`,
|
||||||
`get_biome_data`, `get_mapgen_object`, `get_mapgen_params`, `get_mapgen_edges`,
|
`get_biome_data`, `get_mapgen_object`, `get_mapgen_params`, `get_mapgen_edges`,
|
||||||
`get_mapgen_setting`, `get_noiseparams`, `get_decoration_id` and more
|
`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(get_dir_list);
|
||||||
API_FCT(safe_file_write);
|
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(encode_base64);
|
||||||
API_FCT(decode_base64);
|
API_FCT(decode_base64);
|
||||||
|
Loading…
Reference in New Issue
Block a user