1
0
Fork 0

RemoteFileSystem: don't throw zlib error on empty response

pull/9408/head
Stephan Vock 2020-11-03 16:01:40 +00:00
parent 5c82367dd3
commit 0747b072be
1 changed files with 1 additions and 1 deletions

View File

@ -823,7 +823,7 @@ class RemoteFilesystem
$result = file_get_contents('compress.zlib://data:application/octet-stream;base64,'.base64_encode($result));
}
if (!$result) {
if ($result === false) {
throw new TransportException('Failed to decode zlib stream');
}
}