Closed severfire closed 8 years ago
ImpressPages/Ip/Internal/Repository/BrowserModel.php line 69
no else in if statement
if ($secure) { if (strpos($relpath, realpath(ipFile('file/secure/'))) !== 0) { throw new \Ip\Exception("Restricted directory"); } } { if (strpos($relpath, realpath(ipFile('file/repository/'))) !== 0) { throw new \Ip\Exception("Restricted directory"); } }
to:
if ($secure) { if (strpos($relpath, realpath(ipFile('file/secure/'))) !== 0) { throw new \Ip\Exception("Restricted directory"); } } else { if (strpos($relpath, realpath(ipFile('file/repository/'))) !== 0) { throw new \Ip\Exception("Restricted directory"); } }
Thanks
ImpressPages/Ip/Internal/Repository/BrowserModel.php line 69
no else in if statement
to: