[Pkg-owncloud-commits] [owncloud] 43/83: fix custom routes defined by apps

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 527afe99ec5a710a142beb0ac0626b72273724d5
Author: Robin Appelman <icewind at owncloud.com>
Date:   Wed Nov 27 15:35:49 2013 +0100

    fix custom routes defined by apps
---
 lib/request.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/request.php b/lib/request.php
index 1e19fd7..ba5c220 100755
--- a/lib/request.php
+++ b/lib/request.php
@@ -164,7 +164,7 @@ class OC_Request {
 		if (strpos($path_info, $name) === 0) {
 			$path_info = substr($path_info, strlen($name));
 		}
-		return rtrim($path_info, '/');
+		return $path_info;
 	}
 
 	/**

-- 
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