From 59c3d8d85f77c1176099ddfd3d37086608a0d39d Mon Sep 17 00:00:00 2001 From: Sebastien Cat Date: Sun, 17 Feb 2019 15:59:47 +0100 Subject: Dont check Bucket Name in Nextcloud MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sebastien Cat Signed-off-by: Sébastien Cat --- lib/private/Files/ObjectStore/S3ConnectionTrait.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib') diff --git a/lib/private/Files/ObjectStore/S3ConnectionTrait.php b/lib/private/Files/ObjectStore/S3ConnectionTrait.php index feca792848e..02b6fff6846 100644 --- a/lib/private/Files/ObjectStore/S3ConnectionTrait.php +++ b/lib/private/Files/ObjectStore/S3ConnectionTrait.php @@ -99,10 +99,6 @@ trait S3ConnectionTrait { } $this->connection = new S3Client($options); - if (!$this->connection->isBucketDnsCompatible($this->bucket)) { - throw new \Exception("The configured bucket name is invalid: " . $this->bucket); - } - if (!$this->connection->doesBucketExist($this->bucket)) { $logger = \OC::$server->getLogger(); try { -- cgit v1.2.3