From d03b389b56eb6eb003ab108d8a4972e1ec01a8f0 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Thu, 21 Jun 2018 19:01:27 +0200 Subject: 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 --- lib/private/Files/Storage/DAV.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private') 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) { -- cgit v1.2.3