Closed joe0x04 closed 3 years ago
Path needs to be sanitized with G_CheckFilenameVariable
to prevent rcon user from escaping Q2 directory. And it's probably better to name the cvar g_highscore_dir
, since it's just a directory name, not the full path.
Implemented differently.
The highscore mechanism doesn't allow for multiple ports running from the same gamedir, they'll share a common
highscores
folder since it's hard coded. This allows for the folder to be set in a server config so each port can have its own.