Fixed mydomain setting regex (#10762)

must be in an array because it contains a |
This commit is contained in:
Tony Murray
2019-10-30 07:03:45 -07:00
committed by Neil Lathwood
parent 61c11a8e09
commit 6002427895

View File

@@ -3217,7 +3217,9 @@
"section": "general",
"order": 3,
"validate": {
"value": "regex:/^(((?!-))(xn--|_{1,1})?[a-z0-9-]{0,61}[a-z0-9]{1,1}\\.)*(xn--)?([a-z0-9][a-z0-9\\-]{0,60}|[a-z0-9-]{1,30}\\.[a-z]{2,})$/"
"value": [
"regex:/^((?!-)(xn--|_)?[a-z0-9-]{0,61}[a-z0-9]\\.)*(xn--)?([a-z0-9][a-z0-9\\-]{0,60}|[a-z0-9-]{1,30}\\.[a-z]{2,})$/"
]
}
},
"nagios_plugins": {