mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
src build elFinder-2.1-67c6968
This commit is contained in:
@@ -442,13 +442,11 @@ class elFinderVolumeLocalFileSystem extends elFinderVolumeDriver {
|
||||
$stat = array();
|
||||
|
||||
if (!file_exists($path) && !is_link($path)) {
|
||||
debug($path);
|
||||
return $stat;
|
||||
}
|
||||
|
||||
//Verifies the given path is the root or is inside the root. Prevents directory traveral.
|
||||
if (!$this->_inpath($path, $this->root)) {
|
||||
debug($path, $this->root);
|
||||
return $stat;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user