mirror of
https://github.com/klokantech/tileserver-php.git
synced 2025-08-06 06:38:27 +02:00
Router: Add support for @ in names of layers
This commit is contained in:
@@ -1414,7 +1414,7 @@ class Router {
|
||||
$tokens = array(
|
||||
':string' => '([a-zA-Z]+)',
|
||||
':number' => '([0-9]+)',
|
||||
':alpha' => '([a-zA-Z0-9-_]+)'
|
||||
':alpha' => '([a-zA-Z0-9-_@]+)'
|
||||
);
|
||||
global $config;
|
||||
foreach ($routes as $pattern => $handler_name) {
|
||||
|
Reference in New Issue
Block a user