diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-01-10 08:35:20 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-01-10 08:35:20 +0100 |
commit | e5cc8ebe7a14ab421a83be2b664a9bb976c0d063 (patch) | |
tree | d2427ae381ffed6d33b21eaa794b8a4b286c9845 /apps | |
parent | 167f4624cee49fa085f0d503b59a2c60a2d16a07 (diff) | |
download | nextcloud-server-e5cc8ebe7a14ab421a83be2b664a9bb976c0d063.tar.gz nextcloud-server-e5cc8ebe7a14ab421a83be2b664a9bb976c0d063.zip |
Return proper principal on the uploads collection listing
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/lib/Upload/UploadHome.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/lib/Upload/UploadHome.php b/apps/dav/lib/Upload/UploadHome.php index 9f4ae0e8a2c..ec31e93f4f9 100644 --- a/apps/dav/lib/Upload/UploadHome.php +++ b/apps/dav/lib/Upload/UploadHome.php @@ -66,7 +66,8 @@ class UploadHome implements ICollection { } function getName() { - return 'uploads'; + list(,$name) = \Sabre\Uri\split($this->principalInfo['uri']); + return $name; } function setName($name) { |