Skip to content

Commit 3679564

Browse files
authored
Merge pull request #3300 from nextcloud/backport/3298/stable26
2 parents ec432a4 + 5d4f82f commit 3679564

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)