diff --git a/ldap/client.go b/ldap/client.go index cb380a2..6b76aaf 100644 --- a/ldap/client.go +++ b/ldap/client.go @@ -856,7 +856,7 @@ func escapeValue(input string) string { escFn(char) continue case char < ' ' || char > '~': - // anything that's not between the ascii space and tilde must by hex + // anything that's not between the ascii space and tilde must be hex buf.WriteByte('\\') buf.WriteString(hex.EncodeToString([]byte{char})) continue