@@ -299,10 +299,14 @@ path = [[[self currentDirectoryPath] pathComponents] componentsJoinedByString: @"/"]; #else path = [self currentDirectoryPath]; #endif + +#ifndef OF_PATH_STARTS_WITH_SLASH + path = [path stringByPrependingString: @"/"]; +#endif [URL setPath: [path stringByAppendingString: @"/"]]; [URL makeImmutable];