diff --git a/libraries/liblutil/fetch.c b/libraries/liblutil/fetch.c
index a182b3591a6324ef1ccfe308b5e4e84e9922dc74..fe56e6180967c8fd4beef0848fcf90a1c8e6d91b 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 );