diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-07-20 09:43:23 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-08-01 08:20:17 +0200 |
commit | fc369dd86ea03f3bccb0e1af0686730a0dcb8b9f (patch) | |
tree | 62c80517f0882867aaabbc6f7295ec416f8145c2 /apps/dav/lib/Connector/Sabre/Directory.php | |
parent | f57a3aa81b27cdc7fbf4595deca9022384aacc91 (diff) | |
download | nextcloud-server-fc369dd86ea03f3bccb0e1af0686730a0dcb8b9f.tar.gz nextcloud-server-fc369dd86ea03f3bccb0e1af0686730a0dcb8b9f.zip |
[DAV] Fix URLUtil::splitPath usage
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/dav/lib/Connector/Sabre/Directory.php')
-rw-r--r-- | apps/dav/lib/Connector/Sabre/Directory.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Connector/Sabre/Directory.php b/apps/dav/lib/Connector/Sabre/Directory.php index cb5a2ab8123..1a97d896469 100644 --- a/apps/dav/lib/Connector/Sabre/Directory.php +++ b/apps/dav/lib/Connector/Sabre/Directory.php @@ -387,7 +387,7 @@ class Directory extends \OCA\DAV\Connector\Sabre\Node throw new \Sabre\DAV\Exception\Forbidden('Could not copy directory ' . $sourceNode->getName() . ', target exists'); } - list($sourceDir,) = \Sabre\HTTP\URLUtil::splitPath($sourceNode->getPath()); + list($sourceDir,) = \Sabre\Uri\split($sourceNode->getPath()); $destinationDir = $this->getPath(); $sourcePath = $sourceNode->getPath(); |