]> git.sur5r.net Git - openldap/commitdiff
fix '=' escape in DN (ITS#3009)
authorPierangelo Masarati <ando@openldap.org>
Tue, 16 Mar 2004 18:05:50 +0000 (18:05 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 16 Mar 2004 18:05:50 +0000 (18:05 +0000)
CHANGES
libraries/libldap/getdn.c

diff --git a/CHANGES b/CHANGES
index 912f3367e3d8c8c91096bd6017d5086ed129f9b3..a6a054a8df30680a4213f19a00eb64783c5b67dc 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -10,6 +10,7 @@ OpenLDAP 2.2.7 Engineering
        Fixed erroneous illegal filter handling (ITS#2977)
        Fixed monitor backend crash when used with overlays (ITS#3023)
        Fixed oracle-related issues in back-sql (ITS#2641)
+       Fixed '=' escape in DN (ITS#3009)
        Documentation
                Fixed ldapmodrdn(1) manpage (ITS#3003)
 
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) )