From 188effa43365b90583d60b5fdc9410e3be444061 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Wed, 22 Oct 2014 23:00:30 +0200 Subject: [PATCH] Fix S3 folder creation for new AWS API This also fixes the unit tests --- apps/files_external/lib/amazons3.php | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/files_external/lib/amazons3.php b/apps/files_external/lib/amazons3.php index ae306fac42..3266961289 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();