From 37ad35ff66562eb64e23c3d42188c9a31e4673e9 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 1 Jul 2008 09:01:03 +0000 Subject: [PATCH] Updated FAI release creation check, valid characters for a release are now "a-z0-9." git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11494 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_faiManagement.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/gosa-plugins/fai/admin/fai/class_faiManagement.inc index 06a625f06..d26a71773 100644 --- a/gosa-plugins/fai/admin/fai/class_faiManagement.inc +++ b/gosa-plugins/fai/admin/fai/class_faiManagement.inc @@ -577,8 +577,8 @@ class faiManagement extends plugin $base= $this->fai_base; /* Check used characters */ - if(!preg_match("/^[0-9a-z \ö\ä\ü\.\-_:,]*$/i",$name)){ - msg_dialog::display(_("Error"), msgPool::invalid(_("Name"),$name,"/[0-9a-z \ö\ä\ü\.\-_:,]/i"), ERROR_DIALOG); + if(!preg_match("/^[0-9a-z\.]*$/",$name)){ + msg_dialog::display(_("Error"), msgPool::invalid(_("Name"),$name,"/[0-9a-z\.]/"), ERROR_DIALOG); $is_ok = false; } -- 2.30.2