Share: fix downloading files from a public shared folder
This commit is contained in:
parent
d0a005ea97
commit
762688762f
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue