diff --git a/src/WebDAV/WebDAVAdapter.php b/src/WebDAV/WebDAVAdapter.php index 0f533caa7..cde5a7c39 100644 --- a/src/WebDAV/WebDAVAdapter.php +++ b/src/WebDAV/WebDAVAdapter.php @@ -428,7 +428,7 @@ private function createParentDirFor(string $path): void private function propFind(string $path, string $section, string $property): mixed { - $location = $this->prefixer->prefixPath($path); + $location = $this->encodePath($this->prefixer->prefixPath($path)); try { $result = $this->client->propFind($location, [$property]);