summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorvkuimov <vkuimov@nextcloud>2017-02-10 16:31:49 +0000
committervkuimov <vkuimov@nextcloud>2017-02-10 16:31:49 +0000
commit71a022640b809a610cc85322091c44541042c2d1 (patch)
tree3121d65717900fa41333514faac53d729df584e6 /lib
parent1a591cea97313b8500154d6c2c9ce3aaf2f38a88 (diff)
downloadnextcloud-server-71a022640b809a610cc85322091c44541042c2d1.tar.gz
nextcloud-server-71a022640b809a610cc85322091c44541042c2d1.zip
bug when connect to yandex webdav server
server think that request like <?xml version="1.0" encoding="UTF-8"?> <d:propfind xmlns:d="DAV:"> <d:prop/> </d:propfind> is 400: Bad Request
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/Storage/DAV.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Storage/DAV.php b/lib/private/Files/Storage/DAV.php
index 3b89a66d6a2..31f87d16b04 100644
--- a/lib/private/Files/Storage/DAV.php
+++ b/lib/private/Files/Storage/DAV.php
@@ -203,7 +203,7 @@ class DAV extends Common {
try {
$response = $this->client->propFind(
$this->encodePath($path),
- [],
+ ['{DAV:}href'],
1
);
if ($response === false) {