From e3bc81308e2fe3421e107a09f365e2a68d3e2bef Mon Sep 17 00:00:00 2001 From: NadirRoGue Date: Tue, 31 May 2016 16:35:07 +0200 Subject: [PATCH] [Patch] Fix for shared mounts optimization check --- lib/private/files/objectstore/eosutil.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/private/files/objectstore/eosutil.php b/lib/private/files/objectstore/eosutil.php index 243ef965195b..54ef210683d1 100644 --- a/lib/private/files/objectstore/eosutil.php +++ b/lib/private/files/objectstore/eosutil.php @@ -841,6 +841,7 @@ public static function getUserForProjectName($prjname) { public static function isProjectURIPath($uri_path) { // uri paths always start with leading slash (e.g. ?dir=/bla) + $uri_path = trim($uri_path, '/'); if (startsWith ( $uri_path, '/' )) { $topdir = explode ( "/", $uri_path ) [1]; } else {