Merge "More fine-grained AD domain name validation checks."
This commit is contained in:
commit
872bdc5def
@ -42,12 +42,12 @@ forms:
|
|||||||
names. Single-level domain is not
|
names. Single-level domain is not
|
||||||
appropriate. Subdomains are not allowed.
|
appropriate. Subdomains are not allowed.
|
||||||
- expr:
|
- expr:
|
||||||
regexpValidator: '^[^.]{1,15}\..*$'
|
regexpValidator: '(^[^.]+$|^[^.]{1,15}\..*$)'
|
||||||
message: >-
|
message: >-
|
||||||
NetBIOS name cannot be shorter than 1 symbol and
|
NetBIOS name cannot be shorter than 1 symbol and
|
||||||
longer than 15 symbols.
|
longer than 15 symbols.
|
||||||
- expr:
|
- expr:
|
||||||
regexpValidator: '^[^.]*\.[^.]{2,63}.*$'
|
regexpValidator: '(^[^.]+$|^[^.]*\.[^.]{2,63}.*$)'
|
||||||
message: >-
|
message: >-
|
||||||
DNS host name cannot be shorter than 2 symbols and
|
DNS host name cannot be shorter than 2 symbols and
|
||||||
longer than 63 symbols.
|
longer than 63 symbols.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user