summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/ObjectStore/S3ConnectionTrait.php
diff options
context:
space:
mode:
authorSebastien Cat <sparrow.jack63@gmail.com>2019-02-17 15:59:47 +0100
committerSébastien Cat <sebastien.cat@inra.fr>2019-03-01 11:28:54 +0100
commit59c3d8d85f77c1176099ddfd3d37086608a0d39d (patch)
tree2b683d19f10e90ff4046ca1440f8dd2af41d7535 /lib/private/Files/ObjectStore/S3ConnectionTrait.php
parent1374183f929ecf7393959bbf96a925928f9c8669 (diff)
downloadnextcloud-server-59c3d8d85f77c1176099ddfd3d37086608a0d39d.tar.gz
nextcloud-server-59c3d8d85f77c1176099ddfd3d37086608a0d39d.zip
Dont check Bucket Name in Nextcloud
Signed-off-by: Sebastien Cat <sparrow.jack63@gmail.com> Signed-off-by: Sébastien Cat <sebastien.cat@inra.fr>
Diffstat (limited to 'lib/private/Files/ObjectStore/S3ConnectionTrait.php')
-rw-r--r--lib/private/Files/ObjectStore/S3ConnectionTrait.php4
1 files changed, 0 insertions, 4 deletions
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 {