Share: fix downloading files from a public shared folder

This commit is contained in:
Robin Appelman 2013-02-11 11:38:52 +01:00
parent d0a005ea97
commit 762688762f
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ if (isset($path)) {
}
}
$basePath = $path;
if (isset($_GET['path']) && \OC\Files\Filesystem::isReadable($_GET['path'])) {
if (isset($_GET['path']) && \OC\Files\Filesystem::isReadable($basePath . $_GET['path'])) {
$getPath = \OC\Files\Filesystem::normalizePath($_GET['path']);
$path .= $getPath;
} else {