Check & set context for filesystem:// too

This commit is contained in:
nathan 2022-04-07 14:17:26 -06:00
parent 0d32bb6e5c
commit fe91205192

View File

@ -45,6 +45,9 @@ use EGroupware\Api\Vfs;
*/
class StreamWrapper implements Vfs\StreamWrapperIface
{
use Vfs\UserContextTrait;
/**
* Scheme / protocol used for this stream-wrapper
*/
@ -572,6 +575,7 @@ class StreamWrapper implements Vfs\StreamWrapperIface
*/
function url_stat ( $url, $flags )
{
$this->check_set_context($url);
$parts = Vfs::parse_url($url);
$path = Vfs::decodePath($parts['path']);