summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/settings-personal.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-06-02 15:16:21 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-06-02 15:16:21 +0200
commit70f0cf67a53de5e301e4e773f552b2296dfabaac (patch)
tree15097281db60bc73a51fd18c81aa356fcef3737a /apps/files_sharing/settings-personal.php
parent6e5ed810644efd92eec394be5e1f6f202efe74e0 (diff)
downloadnextcloud-server-70f0cf67a53de5e301e4e773f552b2296dfabaac.tar.gz
nextcloud-server-70f0cf67a53de5e301e4e773f552b2296dfabaac.zip
L10n for federated cloud ID and rtrim '/' on ID
Diffstat (limited to 'apps/files_sharing/settings-personal.php')
-rw-r--r--apps/files_sharing/settings-personal.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/settings-personal.php b/apps/files_sharing/settings-personal.php
index b9ae791e8c7..1aff784b488 100644
--- a/apps/files_sharing/settings-personal.php
+++ b/apps/files_sharing/settings-personal.php
@@ -24,7 +24,7 @@
$uid = \OC::$server->getUserSession()->getUser()->getUID();
$server = \OC::$server->getURLGenerator()->getAbsoluteURL('/');
-$cloudID = $uid . '@' . \OCA\Files_Sharing\Helper::removeProtocolFromUrl($server);
+$cloudID = $uid . '@' . rtrim(\OCA\Files_Sharing\Helper::removeProtocolFromUrl($server), '/');
$tmpl = new OCP\Template('files_sharing', 'settings-personal');
$tmpl->assign('cloudId', $cloudID);