]> git.sur5r.net Git - openldap/commitdiff
'=' must be escaped (and escapable by '\') according to RFC2253 and draft-ietf-ldapbi...
authorPierangelo Masarati <ando@openldap.org>
Tue, 9 Mar 2004 20:43:27 +0000 (20:43 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 9 Mar 2004 20:43:27 +0000 (20:43 +0000)
libraries/libldap/getdn.c

index 40258b072206d079313b5b9b4ecf39816feb1dba..e14342db77ca8f68c9cfaa89386c3dadb69946b7 100644 (file)
@@ -471,7 +471,8 @@ ldap_dn_normalize( LDAP_CONST char *dnin,
        ( LDAP_DN_RDN_SEP(c) || LDAP_DN_AVA_SEP(c) )
 #define LDAP_DN_NE(c) \
        ( LDAP_DN_RDN_SEP_V2(c) || LDAP_DN_AVA_SEP(c) \
-         || LDAP_DN_QUOTES(c) || (c) == '<' || (c) == '>' )
+         || LDAP_DN_AVA_EQUALS(c) || LDAP_DN_QUOTES(c) \
+         || (c) == '<' || (c) == '>' )
 #define LDAP_DN_MAYESCAPE(c) \
        ( LDAP_DN_ESCAPE(c) || LDAP_DN_NE(c) \
          || LDAP_DN_ASCII_SPACE(c) || LDAP_DN_OCTOTHORPE(c) )