Author: nhosoi
Update of /cvs/dirsec/ldapserver/ldap/servers/slapd
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12762
Modified Files:
dn.c
Log Message:
[175063] entry with escaped characters fails to import and index
It used to be taken to the "convert to quoted value" section even though the rdn
did not have a quote.
Index: dn.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/dn.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- dn.c 19 Apr 2005 22:07:36 -0000 1.6
+++ dn.c 8 Dec 2005 00:59:14 -0000 1.7
@@ -188,8 +188,7 @@
case INVALUE:
if ( gotesc ) {
if ( SEPARATOR( *s ) ) {
- if ( value_separator ) value_separator = dn;
- else value_separator = d;
+ value_separator = d;
} else if ( ! NEEDSESCAPE( *s ) ) {
--d; /* eliminate the \ */
}
Show replies by date