Code

Added syntax checks
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 18 May 2011 12:07:10 +0000 (12:07 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 18 May 2011 12:07:10 +0000 (12:07 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20857 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto-ng/admin/newConfigManagement/goto/Config/root.json

index d42a7ba913784a41cd5612e7068703e3b209e3c7..3156d45ce600d6c6f4cb18b8f1fd224b93782970 100644 (file)
@@ -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",
                         "description": "Name",
                         "default": "",
                         "value": "",
+                        "syntax": "/^[a-z0-9\\-]*$/i",
                         "required": true,
                         "type": "string",
                         "display": "Name"