diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-02-11 11:38:52 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-02-11 11:38:52 +0100 |
commit | 762688762f0b4536087d8d6e8bd8d1c9562f00d1 (patch) | |
tree | 692d5c71debfe7c60a9b0a55a33614d96ad94362 /apps | |
parent | d0a005ea979f7f6ddc6ed28b8b346878ce3f41b9 (diff) | |
download | nextcloud-server-762688762f0b4536087d8d6e8bd8d1c9562f00d1.tar.gz nextcloud-server-762688762f0b4536087d8d6e8bd8d1c9562f00d1.zip |
Share: fix downloading files from a public shared folder
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/public.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php index 2862ad510ee..04dcbd680e3 100644 --- a/apps/files_sharing/public.php +++ b/apps/files_sharing/public.php @@ -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 { |