Relax scope name constraints in manager (#2424)
This commit is contained in:
parent
20e1f9ded0
commit
dca8483ec5
|
@ -2443,7 +2443,7 @@ m[^(?:ldapi://[^/]*/?|\w[\w\-\.]*(?::\d{1,5})?|ldap(?:s|\+tls)?://\w[\w\-\.]*(?:
|
|||
'default' => {},
|
||||
'test' => {
|
||||
'keyMsgFail' => '__badMacroName__',
|
||||
'keyTest' => qr/^[_a-zA-Z][a-zA-Z0-9_]*$/,
|
||||
'keyTest' => qr/^[\x21\x23-\x5B\x5D-\x7E]+$/,
|
||||
'test' => sub {
|
||||
return perlExpr(@_);
|
||||
}
|
||||
|
|
|
@ -4338,7 +4338,8 @@ m{^(?:ldapi://[^/]*/?|\w[\w\-\.]*(?::\d{1,5})?|ldap(?:s|\+tls)?://\w[\w\-\.]*(?:
|
|||
type => 'keyTextContainer',
|
||||
help => 'idpopenidconnect.html#scope-rules',
|
||||
test => {
|
||||
keyTest => qr/^[_a-zA-Z][a-zA-Z0-9_]*$/,
|
||||
# RFC6749
|
||||
keyTest => qr/^[\x21\x23-\x5B\x5D-\x7E]+$/,
|
||||
keyMsgFail => '__badMacroName__',
|
||||
test => sub { return perlExpr(@_) },
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user