Forget to urlencode the path
This commit is contained in:
parent
ff6d2f16c4
commit
7454186806
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue