Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'remote.php')
-rw-r--r--remote.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/remote.php b/remote.php
index 8c02c24e2a3..8461eea19ad 100644
--- a/remote.php
+++ b/remote.php
@@ -23,6 +23,8 @@ if(is_null($file)){
exit;
}
+$file=ltrim($file,'/');
+
$parts=explode('/', $file, 2);
$app=$parts[0];
switch ($app) {