forked from extern/egroupware
fix Scrutinizer "bugs"
This commit is contained in:
parent
0949bae0dc
commit
230ec19265
@ -557,7 +557,7 @@ class StreamWrapper extends Api\Db\Pdo implements Vfs\StreamWrapperIface
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!$parent_stat || !($stat = self::url_stat($path,STREAM_URL_STAT_LINK)) ||
|
if (!$parent_stat || !($stat = self::url_stat($path,STREAM_URL_STAT_LINK)) ||
|
||||||
!Vfs::check_access($dir, Vfs::WRITABLE, $parent_stat))
|
!$dir || !Vfs::check_access($dir, Vfs::WRITABLE, $parent_stat))
|
||||||
{
|
{
|
||||||
self::_remove_password($url);
|
self::_remove_password($url);
|
||||||
if (self::LOG_LEVEL) error_log(__METHOD__."($url) permission denied!");
|
if (self::LOG_LEVEL) error_log(__METHOD__."($url) permission denied!");
|
||||||
|
Loading…
Reference in New Issue
Block a user