Domain name validation regexp changed
Change-Id: I6b7c54e3700b3b2511f87dfb107d91a13dee9d9b
This commit is contained in:
parent
9f8ecd9a0d
commit
1f6ed0266a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue