From 33f9c89360bf5da5c475a8c618dbaed9d5e33eb2 Mon Sep 17 00:00:00 2001 From: Maxime Besson Date: Mon, 28 Jun 2021 17:58:50 +0200 Subject: [PATCH] fix(proxy): use accessor Signed-off-by: Maxime Besson --- lib/private/Files/ObjectStore/S3ConnectionTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Files/ObjectStore/S3ConnectionTrait.php b/lib/private/Files/ObjectStore/S3ConnectionTrait.php index 6fd6b14aabee7..8db197c02c54a 100644 --- a/lib/private/Files/ObjectStore/S3ConnectionTrait.php +++ b/lib/private/Files/ObjectStore/S3ConnectionTrait.php @@ -130,7 +130,7 @@ public function getConnection() { 'signature_provider' => \Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider()), 'csm' => false, ]; - if (isset($this->params['proxy'])) { + if ($this->getProxy()) { $options['http'] = [ 'proxy' => $this->params['proxy'] ]; } if (isset($this->params['legacy_auth']) && $this->params['legacy_auth']) {