From: Kurt Zeilenga Date: Mon, 20 Mar 2000 22:00:16 +0000 (+0000) Subject: ITS#441: unhex escape referrals. Needs review before being X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~3123 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4035b05232f097e48e2521b81c87bb1273b5ca11;p=openldap ITS#441: unhex escape referrals. Needs review before being applied to RE 1.2. --- diff --git a/libraries/libldap/request.c b/libraries/libldap/request.c index bf2228a6d8..56e5f492dc 100644 --- a/libraries/libldap/request.c +++ b/libraries/libldap/request.c @@ -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,