Skip to content

Commit

Permalink
Merge pull request #45854 from nextcloud/chore-update-aws-sdk
Browse files Browse the repository at this point in the history
chore(deps): Bump aws/aws-sdk-php from 3.240.8 to 3.311.2
  • Loading branch information
AndyScherzinger authored Jun 16, 2024
2 parents 55036a0 + ae1f5cc commit 424b51e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion 3rdparty
Submodule 3rdparty updated 1485 files
4 changes: 2 additions & 2 deletions lib/private/Files/ObjectStore/S3ConnectionTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Aws\Exception\CredentialsException;
use Aws\S3\Exception\S3Exception;
use Aws\S3\S3Client;
use GuzzleHttp\Promise;
use GuzzleHttp\Promise\Create;
use GuzzleHttp\Promise\RejectedPromise;
use OCP\ICertificateManager;
use Psr\Log\LoggerInterface;
Expand Down Expand Up @@ -178,7 +178,7 @@ protected function paramCredentialProvider(): callable {
$secret = empty($this->params['secret']) ? null : $this->params['secret'];

if ($key && $secret) {
return Promise\promise_for(
return Create::promiseFor(
new Credentials($key, $secret)
);
}
Expand Down
2 changes: 1 addition & 1 deletion lib/private/Files/ObjectStore/S3Signature.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function presign(
}
}

$queryString = http_build_query($query, null, '&', PHP_QUERY_RFC3986);
$queryString = http_build_query($query, '', '&', PHP_QUERY_RFC3986);

return $request->withUri($request->getUri()->withQuery($queryString));
}
Expand Down

0 comments on commit 424b51e

Please sign in to comment.