Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
don't set null as a bundle path
Signed-off-by: Robin Appelman <[email protected]>
  • Loading branch information
icewind1991 authored and backportbot-nextcloud[bot] committed Jul 27, 2022
commit 984bbc3a0fdd95bdb4d7c1a5ade95e0a899b34da
6 changes: 6 additions & 0 deletions lib/private/Files/ObjectStore/S3ObjectTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ public function readObject($urn) {
'header' => $headers,
],
];
$bundle = $this->getCertificateBundlePath();

Check failure

Code scanning / Psalm

UndefinedMethod

Method OCA\Files_External\Lib\Storage\AmazonS3::getCertificateBundlePath does not exist
if ($bundle) {
$opts['ssl'] = [
'cafile' => $bundle
];
}

if ($this->getProxy()) {
$opts['http']['proxy'] = $this->getProxy();
Expand Down