Skip to content

Commit

Permalink
Merge pull request #3300 from nextcloud/backport/3298/stable26
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusknorr authored Nov 16, 2023
2 parents ec432a4 + 5d4f82f commit 3679564
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/Preview/Office.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,11 @@ public function getThumbnail($path, $maxX, $maxY, $scalingup, $fileview) {
}

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

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

0 comments on commit 3679564

Please sign in to comment.