summaryrefslogtreecommitdiffstats
path: root/lib/private/request.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-11-27 15:35:49 +0100
committerRobin Appelman <icewind@owncloud.com>2013-11-27 15:35:49 +0100
commitc47e46fda096563eadfae49308c7f436611a286b (patch)
tree7387323abe4d64caeee72df5bea1552325d0e8b1 /lib/private/request.php
parent5b7b0536346a4a6608e0b294b6784ac5ff3b142a (diff)
downloadnextcloud-server-c47e46fda096563eadfae49308c7f436611a286b.tar.gz
nextcloud-server-c47e46fda096563eadfae49308c7f436611a286b.zip
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;
}
/**