From f3fa152eccbf8333d053281104baad52dcabd369 Mon Sep 17 00:00:00 2001 From: Christian Schorn Date: Wed, 31 Oct 2012 14:20:23 +0100 Subject: [PATCH] Remove delimiters from repository regex --- src/GitList/Util/Routing.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GitList/Util/Routing.php b/src/GitList/Util/Routing.php index 0ad87e8..c283fec 100644 --- a/src/GitList/Util/Routing.php +++ b/src/GitList/Util/Routing.php @@ -25,7 +25,7 @@ class Routing }, $this->app['git']->getRepositories($this->app['git.repos']) ); - $regex = '/' . implode('|', $quoted_paths) . '/'; + $regex = implode('|', $quoted_paths); } return $regex;