diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-06-21 19:01:27 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-06-21 19:01:27 +0200 |
commit | 54c4d95a111531fce3775743b381c610a4a7c599 (patch) | |
tree | 112a6d9fea55af82ca67452a2a49a8a0e79d19c1 /lib | |
parent | 912a657d948a098fddbb5f54e1bf8060543387ff (diff) | |
download | nextcloud-server-54c4d95a111531fce3775743b381c610a4a7c599.tar.gz nextcloud-server-54c4d95a111531fce3775743b381c610a4a7c599.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')
-rw-r--r-- | lib/private/Files/Storage/DAV.php | 2 |
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) { |