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-07-09 17:07:04 +0300
commitd03b389b56eb6eb003ab108d8a4972e1ec01a8f0 (patch)
treedb764807951834f36170f2b9ac63fc6be5651400 /lib
parent57ca183ea42cab2b3c4b5ef2c0a5f058efc39ebe (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 8019c4c0758..e6efb68674a 100644
--- a/lib/private/Files/Storage/DAV.php
+++ b/lib/private/Files/Storage/DAV.php
@@ -209,7 +209,7 @@ class DAV extends Common {
try {
$response = $this->client->propFind(
$this->encodePath($path),
- ['{DAV:}href'],
+ ['{DAV:}getetag'],
1
);
if ($response === false) {