mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-16 17:18:16 -05:00
Fix prev commit again, relative paths are legal.
This commit is contained in:
parent
b4b8f12439
commit
341ac2a066
1 changed files with 4 additions and 0 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue