summaryrefslogtreecommitdiffstats
path: root/web/lib/routing.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/lib/routing.inc.php')
-rw-r--r--web/lib/routing.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/lib/routing.inc.php b/web/lib/routing.inc.php
index e8a2deb7..bbcb9e25 100644
--- a/web/lib/routing.inc.php
+++ b/web/lib/routing.inc.php
@@ -22,6 +22,7 @@ $PKG_PATH = '/packages';
function get_route($path) {
global $ROUTES;
+ $path = rtrim($path, '/');
if (isset($ROUTES[$path])) {
return $ROUTES[$path];
} else {