From: hickert Date: Wed, 18 May 2011 12:07:10 +0000 (+0000) Subject: Added syntax checks X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d528ffda6f5dbff79630d9e9df92667fd32473ce;p=gosa.git Added syntax checks git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20857 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/goto/Config/root.json b/gosa-plugins/goto-ng/admin/newConfigManagement/goto/Config/root.json index d42a7ba91..3156d45ce 100644 --- a/gosa-plugins/goto-ng/admin/newConfigManagement/goto/Config/root.json +++ b/gosa-plugins/goto-ng/admin/newConfigManagement/goto/Config/root.json @@ -13,6 +13,7 @@ "options": { "name": { "description": "Name", + "syntax": "/^[a-z0-9]*$/i", "default": "", "value": "", "required": true, @@ -91,6 +92,7 @@ "name": { "description": "Name", "default": "", + "syntax": "/^[a-z0-9\-\.]*$/i", "value": "", "required": true, "type": "string", @@ -115,6 +117,7 @@ "description": "Name", "default": "", "value": "", + "syntax": "/^[a-z0-9\\-]*$/i", "required": true, "type": "string", "display": "Name"