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