fixing failing unit test

This commit is contained in:
Thomas Müller 2013-11-26 16:52:33 +01:00
parent 2a93720f3f
commit 52941341fd
1 changed files with 1 additions and 1 deletions

View File

@ -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) {