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>
This commit is contained in:
Roeland Jago Douma 2018-06-21 19:01:27 +02:00
parent 912a657d94
commit 54c4d95a11
No known key found for this signature in database
GPG key ID: F941078878347C0C

View file

@ -206,7 +206,7 @@ class DAV extends Common {
try {
$response = $this->client->propFind(
$this->encodePath($path),
['{DAV:}href'],
['{DAV:}getetag'],
1
);
if ($response === false) {