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:
-rw-r--r--remote.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote.php b/remote.php
index 41d2a7ab349..809a4a9bf54 100644
--- a/remote.php
+++ b/remote.php
@@ -2,7 +2,7 @@
$RUNTIME_NOAPPS = TRUE;
require_once('lib/base.php');
$path_info = OC_Request::getPathInfo();
-if ($path_info === false) {
+if ($path_info === false || $path_info === '') {
OC_Response::setStatus(OC_Response::STATUS_NOT_FOUND);
exit;
}