[Pkg-owncloud-commits] [owncloud] 39/83: fixing failing unit test

David Prévot taffit at moszumanska.debian.org
Wed Dec 18 13:05:29 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch 5.0
in repository owncloud.

commit 9ea931fbad0c6277335509a75c13d3c1ec0615a6
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date:   Tue Nov 26 16:52:33 2013 +0100

    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 dc8e3e6..1e19fd7 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) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list