Go to the source code of this file.
◆ CHECK_SECURE_PATH
#define CHECK_SECURE_PATH |
( |
| L, |
|
|
| path, |
|
|
| write_required ) |
Value:
CHECK_SECURE_PATH_INTERNAL(L, path, write_required, NULL); \
}
static bool isSecure(lua_State *L)
Definition s_security.cpp:409
Referenced by ModApiUtil::l_cpdir(), ModApiMapgen::l_create_schematic(), ModApiServer::l_dynamic_add_media(), LuaAreaStore::l_from_file(), ModApiUtil::l_get_dir_list(), ModApiUtil::l_mkdir(), ModApiUtil::l_mvdir(), ModApiServer::l_register_async_dofile(), ModApiServer::l_register_mapgen_script(), ModApiUtil::l_rmdir(), ModApiUtil::l_safe_file_write(), and LuaAreaStore::l_to_file().
◆ CHECK_SECURE_PATH_INTERNAL
#define CHECK_SECURE_PATH_INTERNAL |
( |
| L, |
|
|
| path, |
|
|
| write_required, |
|
|
| ptr ) |
◆ CHECK_SECURE_PATH_POSSIBLE_WRITE
#define CHECK_SECURE_PATH_POSSIBLE_WRITE |
( |
| L, |
|
|
| path, |
|
|
| ptr ) |