mirror of
https://github.com/luanti-org/luanti.git
synced 2025-12-18 12:55:25 +01:00
Fix script security path normalization in presence of links (#15481)
This commit is contained in:
@@ -109,8 +109,7 @@ extern std::string path_cache;
|
||||
bool getCurrentExecPath(char *buf, size_t len);
|
||||
|
||||
/*
|
||||
Get full path of stuff in data directory.
|
||||
Example: "stone.png" -> "../data/stone.png"
|
||||
Concatenate subpath to path_share.
|
||||
*/
|
||||
std::string getDataPath(const char *subpath);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user