diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-10-24 18:00:19 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-10-24 18:00:19 +0200 |
commit | 7454186806d8ebc440f7604d1ff517433bdd9faa (patch) | |
tree | cf08320b2003f00790249699a11dbba1e4154096 /apps | |
parent | ff6d2f16c42a7ed35f28d909ffd19031108fb2f5 (diff) | |
download | nextcloud-server-7454186806d8ebc440f7604d1ff517433bdd9faa.tar.gz nextcloud-server-7454186806d8ebc440f7604d1ff517433bdd9faa.zip |
Forget to urlencode the path
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/public.php | 2 |
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();
|