summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-10-24 18:00:19 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-10-24 18:00:19 +0200
commit7454186806d8ebc440f7604d1ff517433bdd9faa (patch)
treecf08320b2003f00790249699a11dbba1e4154096 /apps
parentff6d2f16c42a7ed35f28d909ffd19031108fb2f5 (diff)
downloadnextcloud-server-7454186806d8ebc440f7604d1ff517433bdd9faa.tar.gz
nextcloud-server-7454186806d8ebc440f7604d1ff517433bdd9faa.zip
Forget to urlencode the path
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php
index 534f548fb3c..105e94f1140 100644
--- a/apps/files_sharing/public.php
+++ b/apps/files_sharing/public.php
@@ -209,7 +209,7 @@ if (isset($_GET['file']) || isset($_GET['dir'])) {
} else {
$getPath = '';
}
- $tmpl->assign('downloadURL', OCP\Util::linkToPublic('files').'&download&dir='.urlencode($_GET['dir']).'&path='.$getPath, false);
+ $tmpl->assign('downloadURL', OCP\Util::linkToPublic('files').'&download&dir='.urlencode($_GET['dir']).'&path='.urlencode($getPath), false);
}
}
$tmpl->printPage();