From: Vincent Petry Date: Wed, 22 Oct 2014 21:00:30 +0000 (+0200) Subject: Fix S3 folder creation for new AWS API X-Git-Tag: v8.0.0alpha1~455^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=188effa43365b90583d60b5fdc9410e3be444061;p=nextcloud-server.git Fix S3 folder creation for new AWS API This also fixes the unit tests --- diff --git a/apps/files_external/lib/amazons3.php b/apps/files_external/lib/amazons3.php index ae306fac420..32669612890 100644 --- a/apps/files_external/lib/amazons3.php +++ b/apps/files_external/lib/amazons3.php @@ -184,6 +184,7 @@ class AmazonS3 extends \OC\Files\Storage\Common { $this->connection->putObject(array( 'Bucket' => $this->bucket, 'Key' => $path . '/', + 'Body' => '', 'ContentType' => 'httpd/unix-directory' )); $this->testTimeout();