Merge pull request #41120 from nextcloud/imaginaryInvalidStream

This commit is contained in:
Simon L 2023-10-26 11:59:37 +02:00 committed by GitHub
commit 4c8232f04c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,6 +78,9 @@ class Imaginary extends ProviderV2 {
// Object store
$stream = $file->fopen('r');
if (!$stream || !is_resource($stream) || feof($stream)) {
return null;
}
$httpClient = $this->service->newClient();