Add tarball tests
This commit is contained in:
@@ -229,7 +229,7 @@ bool isUri(const string & s)
|
||||
size_t pos = s.find("://");
|
||||
if (pos == string::npos) return false;
|
||||
string scheme(s, 0, pos);
|
||||
return scheme == "http" || scheme == "https";
|
||||
return scheme == "http" || scheme == "https" || scheme == "file";
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user