input/curl: enable https
This commit is contained in:

committed by
Max Kellermann

parent
8929f88e6d
commit
3330aa6f6a
@@ -1083,7 +1083,8 @@ static struct input_stream *
|
||||
input_curl_open(const char *url, Mutex &mutex, Cond &cond,
|
||||
Error &error)
|
||||
{
|
||||
if (strncmp(url, "http://", 7) != 0)
|
||||
if ((strncmp(url, "http://", 7) != 0) &&
|
||||
(strncmp(url, "https://", 8) != 0))
|
||||
return NULL;
|
||||
|
||||
struct input_curl *c = new input_curl(url, mutex, cond);
|
||||
|
Reference in New Issue
Block a user