summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlib/private/request.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/request.php b/lib/private/request.php
index bb3a05ba97d..37d918d2032 100755
--- a/lib/private/request.php
+++ b/lib/private/request.php
@@ -159,7 +159,7 @@ class OC_Request {
throw new Exception("The requested uri($requestUri) cannot be processed by the script '$scriptName')");
}
}
- if (strpos($path_info, '/'.$name.'/') === 0) {
+ if (strpos($path_info, '/'.$name) === 0) {
$path_info = substr($path_info, strlen($name) + 1);
}
if (strpos($path_info, $name) === 0) {