From 575f0f4a133eaf3f2332f3d955ed8791511679c2 Mon Sep 17 00:00:00 2001 From: Frank Bergkemper Date: Thu, 5 Aug 2021 14:04:12 +0200 Subject: [PATCH] webui: fix pool module router constraints Fixes #1251: Error when displaying pool detail (cherry picked from commit 02ccca6ededd6c2fb4f7c123bbbf82209040ec9c) --- webui/module/Pool/config/module.config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui/module/Pool/config/module.config.php b/webui/module/Pool/config/module.config.php index d5846f92ce1..546068ae7d0 100644 --- a/webui/module/Pool/config/module.config.php +++ b/webui/module/Pool/config/module.config.php @@ -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',