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:
authorThomas Müller <thomas.mueller@tmit.eu>2013-11-26 19:52:33 +0400
committerThomas Müller <thomas.mueller@tmit.eu>2013-11-26 19:52:33 +0400
commit52941341fde072410308ff1e27742095f5d38f21 (patch)
treed81837875705b0ac61d8391aafba7929057eac21 /lib/private/request.php
parent2a93720f3f967775f7e5279b99348f8e4346e951 (diff)
fixing failing unit test
Diffstat (limited to 'lib/private/request.php')
-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) {