const char *colon = strchr(url, ':');
const char *slash = strchr(url, '/');
return !colon || (slash && slash < colon) ||
- (has_dos_drive_prefix(url) && is_valid_path(url));
+ has_dos_drive_prefix(url);
}
static const char *prot_name(enum protocol protocol)