]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix custom routes defined by apps
authorRobin Appelman <icewind@owncloud.com>
Wed, 27 Nov 2013 14:35:49 +0000 (15:35 +0100)
committerRobin Appelman <icewind@owncloud.com>
Thu, 28 Nov 2013 12:11:25 +0000 (13:11 +0100)
lib/request.php

index 1e19fd72eb0fb6ae1a7f24ee3213e4f1e6618d8f..ba5c2208e3b289179a88d9be1dcf5ca85131eb4f 100755 (executable)
@@ -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;
        }
 
        /**