From f58090087fe786ea14b2273607558683bede1234 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Thu, 11 Jul 2019 01:11:22 +0200 Subject: [PATCH] Fix directory detection for non microsoft dav servers --- changelog.md | 4 ++++ readme.md | 2 +- src/WebDAVAdapter.php | 12 ++++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 515536a..0c95b82 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,9 @@ # Changelog +## 1.0.9 - xxx + +* Made detection of directories compliant with rfc4918 (#53). + ## 1.0.8 - 2019-07-08 * Made some properties private to allow them to be overwritten so other types of WebDAV servers can be supported (#51). diff --git a/readme.md b/readme.md index f1a2de4..6a1d574 100644 --- a/readme.md +++ b/readme.md @@ -18,7 +18,7 @@ This is a Flysystem adapter for the WebDAV. composer require league/flysystem-webdav ``` -# Bootstrap +## Bootstrap ``` php is('{DAV:}collection'); + } + return isset($object['{DAV:}iscollection']) && $object['{DAV:}iscollection'] === '1'; } }