summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-10-22 23:00:30 +0200
committerVincent Petry <pvince81@owncloud.com>2014-10-22 23:00:30 +0200
commit188effa43365b90583d60b5fdc9410e3be444061 (patch)
treed861fea107e54dec7f61ec8ca8d10be058559be7 /apps/files_external
parent993376fb6f62772554e0f35b04f52468021a6cab (diff)
downloadnextcloud-server-188effa43365b90583d60b5fdc9410e3be444061.tar.gz
nextcloud-server-188effa43365b90583d60b5fdc9410e3be444061.zip
Fix S3 folder creation for new AWS API
This also fixes the unit tests
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/lib/amazons3.php1
1 files changed, 1 insertions, 0 deletions
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();