Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-06-21 20:01:27 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-06-21 20:01:27 +0300
commit54c4d95a111531fce3775743b381c610a4a7c599 (patch)
tree112a6d9fea55af82ca67452a2a49a8a0e79d19c1 /lib
parent912a657d948a098fddbb5f54e1bf8060543387ff (diff)
Request a valid property for DAV opendir
Apperently Sabre and Onedrive are not friends when requesting a single 404 property. I need to dig deeper on why this is. Anyways requesting a valid property makes it work like a charm. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
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 1ce7b8acd45..b5537b65747 100644
--- a/lib/private/Files/Storage/DAV.php
+++ b/lib/private/Files/Storage/DAV.php
@@ -206,7 +206,7 @@ class DAV extends Common {
try {
$response = $this->client->propFind(
$this->encodePath($path),
- ['{DAV:}href'],
+ ['{DAV:}getetag'],
1
);
if ($response === false) {