mirror of
https://github.com/YGGverse/next.git
synced 2025-03-12 13:41:27 +00:00
validate absolute path constructed
This commit is contained in:
parent
502fb9c74c
commit
f71b083e81
@ -219,6 +219,11 @@ class Filesystem
|
||||
return null;
|
||||
}
|
||||
|
||||
if (!$this->valid($realpath))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
return $realpath;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user