diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-11-27 18:35:49 +0400 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-11-28 16:11:25 +0400 |
commit | 527afe99ec5a710a142beb0ac0626b72273724d5 (patch) | |
tree | 75b9626e2fa0511872ef0c54c176313c17317c33 /lib | |
parent | bc9cfcb0db933826b5c2a83810d9aeb907416278 (diff) |
fix custom routes defined by apps
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/request.php | 2 |
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; } /** |