[Pkg-owncloud-commits] [owncloud] 196/258: files_extern: remove empty Body and ContentLength in Amazon S3 mount
David Prévot
taffit at moszumanska.debian.org
Sat Oct 11 17:22:35 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 056b97834d1be74d9fa678575bdfb6ef3f635bb3
Author: André Gaul <gaul at web-yard.de>
Date: Tue Aug 19 01:14:58 2014 +0200
files_extern: remove empty Body and ContentLength in Amazon S3 mount
fixes #10501
Conflicts:
apps/files_external/lib/amazons3.php
---
apps/files_external/lib/amazons3.php | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/apps/files_external/lib/amazons3.php b/apps/files_external/lib/amazons3.php
index 9da6dcb..5fc3c48 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) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list