Add test for fixed post policy exploit (#16855)

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

No files matched your search

+1 -1
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)