From: Thomas Müller Date: Tue, 26 Nov 2013 15:52:33 +0000 (+0100) Subject: fixing failing unit test X-Git-Tag: v5.0.14~16^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9ea931fbad0c6277335509a75c13d3c1ec0615a6;p=nextcloud-server.git fixing failing unit test --- 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) {