summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-06-21 19:01:27 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-07-09 16:07:04 +0200
commitd03b389b56eb6eb003ab108d8a4972e1ec01a8f0 (patch)
treedb764807951834f36170f2b9ac63fc6be5651400 /lib/private
parent57ca183ea42cab2b3c4b5ef2c0a5f058efc39ebe (diff)
downloadnextcloud-server-d03b389b56eb6eb003ab108d8a4972e1ec01a8f0.tar.gz
nextcloud-server-d03b389b56eb6eb003ab108d8a4972e1ec01a8f0.zip
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/private')
-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) {