[icinga-checkins] icinga.org: icinga-web/r1.8: Fix editing category principals with spaces in catid

git at icinga.org git at icinga.org
Mon Jan 14 11:15:14 CET 2013


Module: icinga-web
Branch: r1.8
Commit: 65599ba714ef9f1570de248682aebef9ea8442bf
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=65599ba714ef9f1570de248682aebef9ea8442bf

Author: Marius Hein <marius.hein at netways.de>
Date:   Thu Dec 20 13:24:16 2012 +0100

Fix editing category principals with spaces in catid

---

 app/modules/Cronks/config/routing.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/app/modules/Cronks/config/routing.xml b/app/modules/Cronks/config/routing.xml
index 158cc5a..8daba97 100644
--- a/app/modules/Cronks/config/routing.xml
+++ b/app/modules/Cronks/config/routing.xml
@@ -64,7 +64,7 @@
                         
                         <route name=".categories" pattern="^/categories" stop="false">
                             <route name=".categories" pattern="^$" action="Provider.Categories" />
-                            <route name=".principal" pattern="^/security/(catid:([\w\d\_\-]+))" action="Provider.CategorySecurity" />
+                            <route name=".principal" pattern="^/security/(catid:(.+))" action="Provider.CategorySecurity" />
                         </route>
                         
                         <route name=".cronks" pattern="^/$" action="Provider.Cronks" />





More information about the icinga-checkins mailing list