diff --git a/lib/private/request.php b/lib/private/request.php index bb3a05ba97d440e3422013aa121fd9bbd181739c..37d918d2032fa36a7a11cfe47879e247033c1f4b 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) {