Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
Fix routing for clients.
Browse files Browse the repository at this point in the history
Allow also dots in client names for the Client routing.

Fixes #595:  Clients view in Webui doesn't work when there are dots in
             the client names

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
  • Loading branch information
Robert Smit authored and Marco van Wieringen committed Jan 11, 2016
1 parent 3498bbb commit 75332f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/Client/config/module.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
'route' => '/client[/][:action][/][:id]',
'constraints' => array(
'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
'id' => '[a-zA-Z][a-zA-Z0-9_-]*',
'id' => '[a-zA-Z][a-zA-Z0-9\._-]*',
),
'defaults' => array(
'controller' => 'Client\Controller\Client',
Expand Down

0 comments on commit 75332f9

Please sign in to comment.