aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMichael Gapczynski <GapczynskiM@gmail.com>2012-05-17 16:12:33 -0400
committerMichael Gapczynski <GapczynskiM@gmail.com>2012-05-17 16:12:33 -0400
commitfbe0d0d4fd1bb7d287a9cff57637b02c34a83a56 (patch)
tree5acfb5f47dfe1f178882f4eea708878b013f12ec /apps
parentb35c6b57a90022bb66608b6587a907e99d0c4aca (diff)
downloadnextcloud-server-fbe0d0d4fd1bb7d287a9cff57637b02c34a83a56.tar.gz
nextcloud-server-fbe0d0d4fd1bb7d287a9cff57637b02c34a83a56.zip
Fix private links inside folders
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/get.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_sharing/get.php b/apps/files_sharing/get.php
index e326a170075..e2fcb82750d 100644
--- a/apps/files_sharing/get.php
+++ b/apps/files_sharing/get.php
@@ -54,11 +54,11 @@ if (isset($_GET['token']) && $source = OC_Share::getSource($_GET['token'])) {
OCP\Util::addStyle("files", "files");
$breadcrumbNav = new OCP\Template("files", "part.breadcrumb", "");
$breadcrumbNav->assign("breadcrumb", $breadcrumb);
- $breadcrumbNav->assign("baseURL", OCP\Util::linkTo("files_sharing", "get.php")."?token=".$token."&path=");
+ $breadcrumbNav->assign("baseURL", OCP\Util::linkTo("", "public.php")."?service=files&token=".$token."&path=");
$list = new OCP\Template("files", "part.list", "");
$list->assign("files", $files);
- $list->assign("baseURL", OCP\Util::linkTo("files_sharing", "get.php")."?token=".$token."&path=");
- $list->assign("downloadURL", OCP\Util::linkTo("files_sharing", "get.php")."?token=".$token."&path=");
+ $list->assign("baseURL", OCP\Util::linkTo("", "public.php")."?service=files&token=".$token."&path=");
+ $list->assign("downloadURL", OCP\Util::linkTo("", "public.php")."?service=files&token=".$token."&path=");
$list->assign("readonly", true);
$tmpl = new OCP\Template("files", "index", "user");
$tmpl->assign("fileList", $list->fetchPage());