mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 06:28:19 +00:00
Oops
This commit is contained in:
parent
1b0de108c6
commit
624fd38188
|
@ -280,7 +280,7 @@ public:
|
|||
BufferSize = sizeof(aBuffer);
|
||||
}
|
||||
|
||||
if(pFilename[0] == '/' || pFilename[0] == '\\' || str_comp(pFilename, ".."))
|
||||
if(pFilename[0] == '/' || pFilename[0] == '\\' || !str_comp(pFilename, ".."))
|
||||
{
|
||||
// don't escape base directory
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue