Fix prev commit again, relative paths are legal.

This commit is contained in:
Howard Chu 2005-11-26 22:34:23 +00:00
parent b4b8f12439
commit 341ac2a066

View file

@ -55,6 +55,10 @@ ldif_open_url(
}
/* we don't check for LDAP_DIRSEP since URLs should contain '/' */
if( p[1] == '.' && ( p[2] == '/' || ( p[2] == '.' && p[3] == '/' ))) {
/* skip over false root */
p++;
}
p = ber_strdup( p );
ldap_pvt_hex_unescape( p );