Source

selove / src / modules / filesystem / physfs / Filesystem.cpp

The default branch has multiple heads

Diff from to

src/modules/filesystem/physfs/Filesystem.cpp

 		if (!isInited)
 			return false;
 
+		// Checks whether the user tries to updir its way to root
+		if(strstr(ident, ".."))
+			return false;
+
 		// Store the save directory.
 		save_identity = std::string(ident);