Allow fqdn
This commit is contained in:
parent
0a8950bc5a
commit
ba6e0fcc64
|
@ -60,7 +60,8 @@ let
|
|||
let hostChars = "[a-zA-Z0-9_-]";
|
||||
in if isNotNull (builtins.match "^${hostChars}+$" host) then
|
||||
"${host}.${domain}."
|
||||
else if isNotNull (builtins.match "${hostChars}+\\.$" host) then
|
||||
else if isNotNull
|
||||
(builtins.match "(${hostChars}+\\.)+${hostChars}+\\.$" host) then
|
||||
host
|
||||
else if isNotNull
|
||||
(builtins.match "(${hostChars}+\\.)+${hostChars}+$" host) then
|
||||
|
|
Loading…
Reference in New Issue