Add test for fixed post policy exploit (#16855)

This commit is contained in:
Aditya Manthramurthy
2023-03-20 01:06:45 -07:00
committed by GitHub
parent 8d6558b236
commit 09c733677a
3 changed files with 77 additions and 9 deletions

View File

@@ -189,7 +189,7 @@ func Lookup(s config.Config, rootCAs *x509.CertPool) (l Config, err error) {
SRVRecordName: getCfgVal(SRVRecordName),
}
// Parse explicity enable=on/off flag. If not set, defaults to `true`
// Parse explicitly enable=on/off flag. If not set, defaults to `true`
// because ServerAddr is set.
if v := getCfgVal(config.Enable); v != "" {
l.LDAP.Enabled, err = config.ParseBool(v)