summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV/Plugin.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-07-20 09:43:23 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-08-01 08:20:17 +0200
commitfc369dd86ea03f3bccb0e1af0686730a0dcb8b9f (patch)
tree62c80517f0882867aaabbc6f7295ec416f8145c2 /apps/dav/lib/CalDAV/Plugin.php
parentf57a3aa81b27cdc7fbf4595deca9022384aacc91 (diff)
downloadnextcloud-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/CalDAV/Plugin.php')
-rw-r--r--apps/dav/lib/CalDAV/Plugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CalDAV/Plugin.php b/apps/dav/lib/CalDAV/Plugin.php
index 5172cea6e27..647dbb5c587 100644
--- a/apps/dav/lib/CalDAV/Plugin.php
+++ b/apps/dav/lib/CalDAV/Plugin.php
@@ -31,7 +31,7 @@ class Plugin extends \Sabre\CalDAV\Plugin {
function getCalendarHomeForPrincipal($principalUrl) {
if (strrpos($principalUrl, 'principals/users', -strlen($principalUrl)) !== false) {
- list(, $principalId) = URLUtil::splitPath($principalUrl);
+ list(, $principalId) = \Sabre\Uri\split($principalUrl);
return self::CALENDAR_ROOT .'/' . $principalId;
}