We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 134958f commit f94e6fdCopy full SHA for f94e6fd
modules/auth/ldap/ldap.go
@@ -69,7 +69,7 @@ func (ls *Source) sanitizedUserQuery(username string) (string, bool) {
69
70
func (ls *Source) sanitizedUserDN(username string) (string, bool) {
71
// See http://tools.ietf.org/search/rfc4514: "special characters"
72
- badCharacters := "\x00()*\\,='\"#+;<> "
+ badCharacters := "\x00()*\\,='\"#+;<>"
73
if strings.ContainsAny(username, badCharacters) {
74
log.Debug("'%s' contains invalid DN characters. Aborting.", username)
75
return "", false
0 commit comments