diff --git a/transport.c b/transport.c
index b3e3e61f9dddec8230532f7d248beba801a38123..71433d99978ddcc53c80fd6de4aee98871c6d8cf 100644 (file)
--- a/transport.c
+++ b/transport.c
{
const char *colon = strchr(url, ':');
const char *slash = strchr(url, '/');
- return !colon || (slash && slash < colon);
+ return !colon || (slash && slash < colon) ||
+ has_dos_drive_prefix(url);
}
static int is_file(const char *url)