From: Kurt Zeilenga Date: Sun, 27 Nov 2005 00:19:24 +0000 (+0000) Subject: Sync with HEAD X-Git-Tag: OPENLDAP_REL_ENG_2_3_13~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2c7553a35999158d1be312ff9070fd52c1948b30;p=openldap Sync with HEAD --- diff --git a/libraries/liblutil/fetch.c b/libraries/liblutil/fetch.c index a182b3591a..fe56e61809 100644 --- a/libraries/liblutil/fetch.c +++ b/libraries/liblutil/fetch.c @@ -55,8 +55,10 @@ ldif_open_url( } /* we don't check for LDAP_DIRSEP since URLs should contain '/' */ - /* skip over false root */ - p++; + if( p[1] == '.' && ( p[2] == '/' || ( p[2] == '.' && p[3] == '/' ))) { + /* skip over false root */ + p++; + } p = ber_strdup( p ); ldap_pvt_hex_unescape( p );