mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 01:05:48 +01:00 
			
		
		
		
	Remove insecure environment from async and emerge environment
This commit is contained in:
		@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user