mirror of
https://github.com/klaussilveira/gitlist.git
synced 2025-11-17 19:20:56 +01:00
Change delimiter for repository regex
'#' is the default delimiter for route regexes in `Symfony\Component\Routing\RouteCompiler`, so use this.
This commit is contained in:
@@ -21,7 +21,7 @@ class Routing
|
||||
$app = $this->app;
|
||||
$quoted_paths = array_map(
|
||||
function ($repo) use ($app) {
|
||||
return preg_quote($app['util.routing']->getRelativePath($repo['path']), '/');
|
||||
return preg_quote($app['util.routing']->getRelativePath($repo['path']), '#');
|
||||
},
|
||||
$this->app['git']->getRepositories($this->app['git.repos'])
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user