Commit 3330aa6f authored by Ales Guzik's avatar Ales Guzik Committed by Max Kellermann

input/curl: enable https

parent 8929f88e
......@@ -2,6 +2,7 @@ ver 0.18 (2012/??/??)
* protocol:
- new command "toggleoutput"
* innput:
- curl: enable https
- soup: plugin removed
* decoder:
- adplug: new decoder plugin using libadplug
......
......@@ -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);
......
......@@ -36,6 +36,7 @@
static const char *remoteUrlPrefixes[] = {
#if defined(ENABLE_CURL)
"http://",
"https://",
#endif
#ifdef ENABLE_MMS
"mms://",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment