Skip to content

Commit

Permalink
Merge pull request #906 from bareos/dev/fbergkemper/bareos-18.2/bug-0…
Browse files Browse the repository at this point in the history
…001251

webui: fix pool module router constraints
  • Loading branch information
pstorz committed Aug 9, 2021
2 parents 7527000 + 204fe46 commit 3c7eab1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions webui/module/Pool/config/module.config.php
Expand Up @@ -43,7 +43,7 @@
'route' => '/pool[/][:action][/][:id]',
'constraints' => array(
'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
'id' => '[a-zA-Z][a-zA-Z0-9_-]*',
'id' => '[a-zA-Z0-9][a-zA-Z0-9\._-]*',
),
'defaults' => array(
'controller' => 'Pool\Controller\Pool',
Expand All @@ -54,7 +54,6 @@
),
),
),

'view_manager' => array(
'template_path_stack' => array(
'pool' => __DIR__ . '/../view',
Expand Down

0 comments on commit 3c7eab1

Please sign in to comment.