]> source.dussan.org Git - nextcloud-server.git/commitdiff
fixing failing unit test
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 26 Nov 2013 15:52:33 +0000 (16:52 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 26 Nov 2013 21:34:26 +0000 (22:34 +0100)
lib/request.php

index dc8e3e61be35e0140af8bf44bad43a7977ea6cbf..1e19fd72eb0fb6ae1a7f24ee3213e4f1e6618d8f 100755 (executable)
@@ -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) {