summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/amazons3.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-10-23 12:35:44 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-10-23 12:35:44 +0200
commitca01530f57c08d588f444f0d73ca7748d37dd107 (patch)
tree230e12fa46f3da4e3228725517281116e344eefb /apps/files_external/lib/amazons3.php
parent7e266e8a79172948fef993aef0b1ea1bbfe5ae89 (diff)
parent188effa43365b90583d60b5fdc9410e3be444061 (diff)
downloadnextcloud-server-ca01530f57c08d588f444f0d73ca7748d37dd107.tar.gz
nextcloud-server-ca01530f57c08d588f444f0d73ca7748d37dd107.zip
Merge pull request #11726 from owncloud/s3-fixunittests
Fix S3 folder creation for new AWS API
Diffstat (limited to 'apps/files_external/lib/amazons3.php')
-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 da919236f8f..52255fb559e 100644
--- a/apps/files_external/lib/amazons3.php
+++ b/apps/files_external/lib/amazons3.php
@@ -156,6 +156,7 @@ class AmazonS3 extends \OC\Files\Storage\Common {
$this->getConnection()->putObject(array(
'Bucket' => $this->bucket,
'Key' => $path . '/',
+ 'Body' => '',
'ContentType' => 'httpd/unix-directory'
));
$this->testTimeout();