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 57ca183ea4
commit d03b389b56
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 1 additions and 1 deletions

View File

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