From 527afe99ec5a710a142beb0ac0626b72273724d5 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 27 Nov 2013 15:35:49 +0100 Subject: [PATCH] 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 1e19fd72eb0..ba5c2208e3b 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; } /** -- 2.39.5