This commit is contained in:
def 2017-06-16 20:46:41 +02:00
parent 1b0de108c6
commit 624fd38188

View file

@ -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
} }