mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix auth_ad_url validation (#15487)
Improve the validation, but try not to be too strict. Allow IPv6 addresses too
This commit is contained in:
@@ -500,7 +500,7 @@
|
||||
"order": 1,
|
||||
"type": "text",
|
||||
"validate": {
|
||||
"value": "regex:#(ldaps?://[\\w.]+\\s+)+#"
|
||||
"value": ["regex:#^ldaps?://([-0-9a-zA-Z_.]+|\\[[a-fA-F0-9:]{3,39}\\])(\\s+ldaps?://([-0-9a-zA-Z_.]+|\\[[a-fA-F0-9:]{3,39}\\]))*$#"]
|
||||
}
|
||||
},
|
||||
"auth_ad_require_groupmembership": {
|
||||
|
Reference in New Issue
Block a user