mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-31 12:09:35 -05:00
'=' must be escaped (and escapable by '\') according to RFC2253 and draft-ietf-ldapbis-dn-XX (ITS#3009; must have slipped thru some changes long time ago...)
This commit is contained in:
parent
2b77fb424c
commit
14f2ebe1d3
1 changed files with 2 additions and 1 deletions
|
|
@ -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) )
|
||||
|
|
|
|||
Loading…
Reference in a new issue