mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
It's 'filename', not 'name'.
Pointyhead to: Yamagi
This commit is contained in:
parent
1d709e5e27
commit
7058052aea
1 changed files with 1 additions and 1 deletions
|
@ -457,7 +457,7 @@ CL_CheckOrDownloadFile(char *filename)
|
|||
return true;
|
||||
}
|
||||
|
||||
if (strstr(filename, "..") || strstr(name, ":") || (*name == '.') || (*name == '/'))
|
||||
if (strstr(filename, "..") || strstr(filename, ":") || (*filename == '.') || (*filename == '/'))
|
||||
{
|
||||
Com_Printf("Refusing to download a path with ..: %s\n", filename);
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue