Skip to content
Snippets Groups Projects
Commit 52941341 authored by Thomas Müller's avatar Thomas Müller
Browse files

fixing failing unit test

parent 2a93720f
Branches
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment