From 3330aa6f6a7fcd903f74cb8342f315ad35b54ead Mon Sep 17 00:00:00 2001 From: Ales Guzik Date: Tue, 3 Sep 2013 14:07:33 +0300 Subject: input/curl: enable https --- src/input/CurlInputPlugin.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/input') diff --git a/src/input/CurlInputPlugin.cxx b/src/input/CurlInputPlugin.cxx index 42fb99982..cd4733973 100644 --- a/src/input/CurlInputPlugin.cxx +++ b/src/input/CurlInputPlugin.cxx @@ -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); -- cgit v1.2.3