Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-11-27 18:35:49 +0400
committerRobin Appelman <icewind@owncloud.com>2013-11-27 18:35:49 +0400
commitc47e46fda096563eadfae49308c7f436611a286b (patch)
tree7387323abe4d64caeee72df5bea1552325d0e8b1 /lib/private/request.php
parent5b7b0536346a4a6608e0b294b6784ac5ff3b142a (diff)
fix custom routes defined by apps
Diffstat (limited to 'lib/private/request.php')
-rwxr-xr-xlib/private/request.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/request.php b/lib/private/request.php
index 37d918d2032..6b4a2321bac 100755
--- a/lib/private/request.php
+++ b/lib/private/request.php
@@ -165,7 +165,7 @@ class OC_Request {
if (strpos($path_info, $name) === 0) {
$path_info = substr($path_info, strlen($name));
}
- return rtrim($path_info, '/');
+ return $path_info;
}
/**