mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fixed mydomain setting regex (#10762)
must be in an array because it contains a |
This commit is contained in:
committed by
Neil Lathwood
parent
61c11a8e09
commit
6002427895
@@ -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": {
|
||||
|
Reference in New Issue
Block a user