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
path: root/lib
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-27 01:34:26 +0400
commit9ea931fbad0c6277335509a75c13d3c1ec0615a6 (patch)
treeeb8e71c82f83a86154e13a43b4e551ec793cfcb3 /lib
parent4221490d04f1f02e89c5f06f6250fb9ec113eac9 (diff)
fixing failing unit test
Diffstat (limited to 'lib')
-rwxr-xr-xlib/request.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/request.php b/lib/request.php
index dc8e3e61be3..1e19fd72eb0 100755
--- a/lib/request.php
+++ b/lib/request.php
@@ -158,7 +158,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) {