From 9ea931fbad0c6277335509a75c13d3c1ec0615a6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20M=C3=BCller?= Date: Tue, 26 Nov 2013 16:52:33 +0100 Subject: [PATCH] fixing failing unit test --- lib/request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5