Skip to content

Commit 95be6b0

Browse files
authored
Merge pull request #3298 from nextcloud/bugfix/3089
2 parents 54774b2 + 53d788f commit 95be6b0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/Preview/Office.php

+5-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,11 @@ public function getThumbnail($path, $maxX, $maxY, $scalingup, $fileview) {
7878
}
7979

8080
$client = $this->clientService->newClient();
81-
$options = ['timeout' => 25];
81+
$options = [
82+
'timeout' => 25,
83+
// FIXME: Can be removed once https://github.com/CollaboraOnline/online/issues/6983 is fixed upstream
84+
'expect' => false,
85+
];
8286

8387
if ($this->config->getAppValue('richdocuments', 'disable_certificate_verification') === 'yes') {
8488
$options['verify'] = false;

0 commit comments

Comments
 (0)