Domain name validation regexp changed

Change-Id: I6b7c54e3700b3b2511f87dfb107d91a13dee9d9b
This commit is contained in:
Stan Lagun 2013-08-27 14:26:49 +04:00
parent 9f8ecd9a0d
commit 1f6ed0266a
1 changed files with 1 additions and 2 deletions

View File

@ -9,7 +9,6 @@ description: >-
unitTemplates:
- isMaster: true
recoveryPassword: {YAQL: $.serviceConfiguration.recoveryPassword}
location: west-dc
- isMaster: false
recoveryPassword: {YAQL: $.serviceConfiguration.recoveryPassword}
@ -33,7 +32,7 @@ forms:
attributeNames: [name, domain]
minLength: 2
maxLength: 255
regexpValidator: '^(?=.{2,255}$)[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?(?:\.[0-9A-Za-z](?:(?:[0-9A-Za-z]|-){0,61}[0-9A-Za-z])?)*\.?$'
regexpValidator: '^[0-9A-Za-z](?!--)[0-9A-Za-z\-]{0,13}[0-9A-Za-z]\.[0-9A-Za-z][0-9A-Za-z\-]{0,61}[0-9A-Za-z]$'
errorMessages:
invalid: >-
Only letters, numbers and dashes in the middle are