Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSebastien Cat <sparrow.jack63@gmail.com>2019-02-17 17:59:47 +0300
committerSébastien Cat <sebastien.cat@inra.fr>2019-03-01 13:28:54 +0300
commit59c3d8d85f77c1176099ddfd3d37086608a0d39d (patch)
tree2b683d19f10e90ff4046ca1440f8dd2af41d7535 /lib
parent1374183f929ecf7393959bbf96a925928f9c8669 (diff)
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')
-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 {