]> source.dussan.org Git - nextcloud-server.git/commit
fix(s3): fix handling verify_bucket_exists parameter 40186/head
authorThomas Citharel <tcit@tcit.fr>
Mon, 26 Jun 2023 14:43:07 +0000 (16:43 +0200)
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>
Thu, 31 Aug 2023 21:21:16 +0000 (21:21 +0000)
commitfe618feeb094c4348153c449ec79d9d92027d953
treee4f007dee82e4e561a47cd0e24313ff7ee3c92b6
parent3519f20add91ea990b9bd049e2c028b7915cfca3
fix(s3): fix handling verify_bucket_exists parameter

If 'verify_bucket_exists' is set to false in the config.php s3 configuration, it's supposed to avoid
verifying that the bucket exists. However empty(falsy) will  always return true, so this condition
would not work.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
lib/private/Files/ObjectStore/S3ConnectionTrait.php