[Pkg-owncloud-commits] [php-sabredav] 17/42: thnx @armin-hackmann
David Prévot
taffit at moszumanska.debian.org
Wed Jul 23 16:41:25 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository php-sabredav.
commit 712f415b907173db5e4415e320409efb9bc81ece
Author: Evert Pot <me at evertpot.com>
Date: Wed Jun 4 11:35:17 2014 -0400
thnx @armin-hackmann
---
ChangeLog.md | 2 ++
lib/DAV/Server.php | 2 ++
2 files changed, 4 insertions(+)
diff --git a/ChangeLog.md b/ChangeLog.md
index 8dd11f4..0cc2566 100644
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -6,6 +6,8 @@ ChangeLog
* #467: Fixed a problem in `examples/calendarserver.php`.
* #466: All the postgresql sample files have been updated.
+* Fixed: An error would be thrown if a client did a propfind on a node the
+ user didn't have access to.
2.0.1 (2014-05-28)
------------------
diff --git a/lib/DAV/Server.php b/lib/DAV/Server.php
index 3c593ea..510f0a1 100644
--- a/lib/DAV/Server.php
+++ b/lib/DAV/Server.php
@@ -916,6 +916,8 @@ class Server extends EventEmitter {
$this->addPathNodesRecursively($propFindRequests, $propFind);
}
+ $returnProperties = [];
+
foreach($propFindRequests as $propFindRequest) {
list($propFind, $node) = $propFindRequest;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git
More information about the Pkg-owncloud-commits
mailing list