Fix text on slaveMasterIP (#923)
This commit is contained in:
parent
1843fe7434
commit
6773ef3474
|
@ -2372,7 +2372,7 @@ qr/^(?:(?:https?):\/\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.
|
|||
},
|
||||
'slaveMasterIP' => {
|
||||
'msgFail' => '__badIPv4Address__',
|
||||
'test' => qr/^(?:[0-9]+[.][0-9]+[.][0-9]+[.][0-9]+)$/,
|
||||
'test' => qr/^((?:[0-9]+[.][0-9]+[.][0-9]+[.][0-9]+)\s*)*$/,
|
||||
'type' => 'text'
|
||||
},
|
||||
'slaveUserHeader' => {
|
||||
|
|
|
@ -1937,7 +1937,7 @@ m{^(?:ldapi://[^/]*/?|\w[\w\-\.]*(?::\d{1,5})?|ldap(?:s|\+tls)?://\w[\w\-\.]*(?:
|
|||
},
|
||||
slaveMasterIP => {
|
||||
type => 'text',
|
||||
test => qr/^$Regexp::Common::URI::RFC2396::IPv4address$/,
|
||||
test => qr/^($Regexp::Common::URI::RFC2396::IPv4address\s*)*$/,
|
||||
msgFail => '__badIPv4Address__',
|
||||
},
|
||||
slaveHeaderName => { type => 'text', },
|
||||
|
|
Loading…
Reference in New Issue
Block a user