diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-01-26 17:48:09 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-01-29 12:47:11 +0100 |
commit | ddee63fa00e13e1830aa4b6113d30f24b3b34535 (patch) | |
tree | de267f32a116155e42836aaa889b8911a849d60a /lib | |
parent | 099d43b1f9300f508c1899d376ae5aef459894bb (diff) | |
download | nextcloud-server-ddee63fa00e13e1830aa4b6113d30f24b3b34535.tar.gz nextcloud-server-ddee63fa00e13e1830aa4b6113d30f24b3b34535.zip |
Fix resolving paths for views rooted in a file
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/files/filesystem.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/filesystem.php b/lib/private/files/filesystem.php index c460159ece3..140d892652f 100644 --- a/lib/private/files/filesystem.php +++ b/lib/private/files/filesystem.php @@ -293,7 +293,7 @@ class Filesystem { } $mount = self::$mounts->find($path); if ($mount) { - return array($mount->getStorage(), $mount->getInternalPath($path)); + return array($mount->getStorage(), rtrim($mount->getInternalPath($path), '/')); } else { return array(null, null); } |