1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Don't let HTTP API pass through untrusted function

This has been a problem since the first day, oops.
This commit is contained in:
sfan5 2021-12-17 18:31:29 +01:00
parent 8472141b79
commit 8c99f2232b
4 changed files with 27 additions and 6 deletions

View file

@ -41,6 +41,9 @@ private:
// http_fetch_async_get(handle)
static int l_http_fetch_async_get(lua_State *L);
// set_http_api_lua() [internal]
static int l_set_http_api_lua(lua_State *L);
// request_http_api()
static int l_request_http_api(lua_State *L);