Skip to content
Snippets Groups Projects
Commit 74541868 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Forget to urlencode the path

parent ff6d2f16
Branches
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment