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-28 16:11:25 +0400
commit527afe99ec5a710a142beb0ac0626b72273724d5 (patch)
tree75b9626e2fa0511872ef0c54c176313c17317c33 /lib/request.php
parentbc9cfcb0db933826b5c2a83810d9aeb907416278 (diff)
fix custom routes defined by apps
Diffstat (limited to 'lib/request.php')
-rwxr-xr-xlib/request.php2
1 files changed, 1 insertions, 1 deletions
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;
}
/**