From: hickert Date: Wed, 24 Aug 2005 06:07:22 +0000 (+0000) Subject: | is no longer allowed in goShareServer Tab X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e505eae55231d23f574fb1f863e47b32075a4101;p=gosa.git | is no longer allowed in goShareServer Tab git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1215 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_servNfs.inc b/plugins/admin/systems/class_servNfs.inc index 95957ecc5..ebbd08344 100644 --- a/plugins/admin/systems/class_servNfs.inc +++ b/plugins/admin/systems/class_servNfs.inc @@ -111,6 +111,18 @@ class servnfs extends plugin } } + if(preg_match("/\|/",$this->description)){ + $message[]=_("Description contains invalid characters."); + } + + if(preg_match("/\|/",$this->path)){ + $message[]=_("Path contains invalid characters."); + } + + if(preg_match("/\|/",$this->option)){ + $message[]=_("Option contains invalid characters."); + } + $ldap= $this->config->get_ldap_link(); $ldap->cd($this->config->current['BASE']); $ldap->search("(objectClass=goShareServer)", array("goExportEntry"));