summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorAndré Gaul <gaul@web-yard.de>2014-08-19 01:14:58 +0200
committerVincent Petry <pvince81@owncloud.com>2014-10-08 18:49:59 +0200
commit0d0c9d0bb35195cc5b40a189523599df56d8368e (patch)
treec1c829ba67f8e9be74f22ac5c5b06273d722558c /apps/files_external
parent3427976bb62db14532f43ca8b3ded36107ed3b80 (diff)
downloadnextcloud-server-0d0c9d0bb35195cc5b40a189523599df56d8368e.tar.gz
nextcloud-server-0d0c9d0bb35195cc5b40a189523599df56d8368e.zip
files_extern: remove empty Body and ContentLength in Amazon S3 mount
fixes #10501 Conflicts: apps/files_external/lib/amazons3.php
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/lib/amazons3.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/files_external/lib/amazons3.php b/apps/files_external/lib/amazons3.php
index 2917b1d19f1..8e893b0aac6 100644
--- a/apps/files_external/lib/amazons3.php
+++ b/apps/files_external/lib/amazons3.php
@@ -181,9 +181,7 @@ class AmazonS3 extends \OC\Files\Storage\Common {
$this->connection->putObject(array(
'Bucket' => $this->bucket,
'Key' => $path . '/',
- 'Body' => '',
- 'ContentType' => 'httpd/unix-directory',
- 'ContentLength' => 0
+ 'ContentType' => 'httpd/unix-directory'
));
$this->testTimeout();
} catch (S3Exception $e) {