summaryrefslogtreecommitdiffstats
path: root/lib/private/request.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-01-09 14:25:48 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-06-04 12:22:23 +0200
commit76e04027bcc8f02aa665b960e229882f04986ee7 (patch)
tree191d768f81cda280b6cd93ebed6b7203cb48ec82 /lib/private/request.php
parentade6ed37976b405322e428df8c6697116fc9692f (diff)
downloadnextcloud-server-76e04027bcc8f02aa665b960e229882f04986ee7.tar.gz
nextcloud-server-76e04027bcc8f02aa665b960e229882f04986ee7.zip
Upgrade SabreDAV to 1.8.10
Updating SabreDAV namespaces
Diffstat (limited to 'lib/private/request.php')
-rwxr-xr-xlib/private/request.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/request.php b/lib/private/request.php
index 09928021a7f..619eae3e9b5 100755
--- a/lib/private/request.php
+++ b/lib/private/request.php
@@ -184,7 +184,7 @@ class OC_Request {
$path_info = $_SERVER['PATH_INFO'];
}else{
$path_info = self::getRawPathInfo();
- // following is taken from Sabre_DAV_URLUtil::decodePathSegment
+ // following is taken from \Sabre\DAV\URLUtil::decodePathSegment
$path_info = rawurldecode($path_info);
$encoding = mb_detect_encoding($path_info, array('UTF-8', 'ISO-8859-1'));
@@ -220,7 +220,7 @@ class OC_Request {
$path_info = $requestUri;
// strip off the script name's dir and file name
- list($path, $name) = \Sabre_DAV_URLUtil::splitPath($scriptName);
+ list($path, $name) = \Sabre\DAV\URLUtil::splitPath($scriptName);
if (!empty($path)) {
if( $path === $path_info || strpos($path_info, $path.'/') === 0) {
$path_info = substr($path_info, strlen($path));