Forget to urlencode the path

This commit is contained in:
Lukas Reschke 2012-10-24 18:00:19 +02:00
parent ff6d2f16c4
commit 7454186806
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ if (isset($_GET['file']) || isset($_GET['dir'])) {
} else { } else {
$getPath = ''; $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(); $tmpl->printPage();