[Pkg-owncloud-commits] [php-sabredav] 02/07: Added some docblocks.

David Prévot taffit at moszumanska.debian.org
Tue Oct 27 19:44:09 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to tag 3.0.5
in repository php-sabredav.

commit 55ddc6998417194e87b8cab7599605eb5acb1dad
Author: Evert Pot <me at evertpot.com>
Date:   Tue Sep 15 20:01:20 2015 +0200

    Added some docblocks.
---
 lib/DAV/Server.php | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/lib/DAV/Server.php b/lib/DAV/Server.php
index e2a0f08..8c851c7 100644
--- a/lib/DAV/Server.php
+++ b/lib/DAV/Server.php
@@ -523,7 +523,12 @@ class Server extends EventEmitter {
     }
 
     /**
-     * Calculates the uri for a request, making sure that the base uri is stripped out
+     * Turns a URI such as the REQUEST_URI into a local path.
+     *
+     * This method:
+     *   * strips off the base path
+     *   * normalizes the path
+     *   * uri-decodes the path
      *
      * @param string $uri
      * @throws Exception\Forbidden A permission denied exception is thrown whenever there was an attempt to supply a uri outside of the base uri

-- 
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