diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-10-22 23:00:30 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-10-22 23:00:30 +0200 |
commit | 188effa43365b90583d60b5fdc9410e3be444061 (patch) | |
tree | d861fea107e54dec7f61ec8ca8d10be058559be7 /apps/files_external | |
parent | 993376fb6f62772554e0f35b04f52468021a6cab (diff) | |
download | nextcloud-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.php | 1 |
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(); |