diff options
Diffstat (limited to 'code')
-rw-r--r-- | code/client/cl_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/client/cl_main.c b/code/client/cl_main.c index da5d116..12b102d 100644 --- a/code/client/cl_main.c +++ b/code/client/cl_main.c @@ -1445,7 +1445,7 @@ void CL_NextDownload(void) { s = localName + strlen(localName); // point at the nul byte // Make sure the server cannot make us write to non-quake3 directories. - if(strstr(localName, "../")) + if(strstr(localName, "../") || strstr(localName, "..\\")) { Com_Error(ERR_DROP, "CL_NextDownload: Invalid download name %s", localName); return; |