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

diff --git a/CHANGES b/CHANGES
index bcc173237dc339861d7e67afc7552e2afaf10543..19158aa2b180212517a8a62b353542aea9c0aab3 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -4,6 +4,7 @@ OpenLDAP 2.1.28 Engineering
        Fixed back-bdb slapadd crash (ITS#2974)
        Fixed typo in ACL STYLE slap_style_e enum (ITS#3001)
        Added ACL set logging (ITS#2949)
+       Fixed '=' escape in DN (ITS#3009)
        Documentation
                Fixed ldapmodify(1) manpage (ITS#3002)
                Fixed ldapmodrdn(1) manpage (ITS#3003)
index ceb199427d542d0bcc6fed4d35f02519cdc9aa29..8a3f1c0046c08bd0c17ddd369d9919724962fb4e 100644 (file)
@@ -465,7 +465,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) )