]> git.sur5r.net Git - openldap/commitdiff
ITS#441: unhex escape referrals. Needs review before being
authorKurt Zeilenga <kurt@openldap.org>
Mon, 20 Mar 2000 22:00:16 +0000 (22:00 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 20 Mar 2000 22:00:16 +0000 (22:00 +0000)
applied to RE 1.2.

libraries/libldap/request.c

index bf2228a6d84bd4990fcffa125bfaa11c6590995d..56e5f492dc83bc5cb28ac7328b220ece609f9df3 100644 (file)
@@ -627,7 +627,9 @@ ldap_chase_referrals( LDAP *ld, LDAPRequest *lr, char **errstrp, int *hadrefp )
                        p = NULL;
                }
 
+               ldap_pvt_hex_unescape( ref );
                len = strlen( ref );
+
                if ( len > LDAP_LDAP_REF_STR_LEN && strncasecmp( ref,
                    LDAP_LDAP_REF_STR, LDAP_LDAP_REF_STR_LEN ) == 0 ) {
                        Debug( LDAP_DEBUG_TRACE,