diff --git a/cmdline/main.c b/cmdline/main.c index 1b323857..61be6e49 100644 --- a/cmdline/main.c +++ b/cmdline/main.c @@ -81,7 +81,7 @@ static uintptr_t receive_event(mrmailbox_t* mailbox, int event, uintptr_t data1, { char* ret = NULL; char* tempFile = mr_get_fine_pathNfilename(mailbox->m_blobdir, "curl.result"); - char* cmd = mr_mprintf("curl --silent --location --fail %s > %s", (char*)data1, tempFile); /* --location = follow redirects */ + char* cmd = mr_mprintf("curl --silent --location --fail --insecure %s > %s", (char*)data1, tempFile); /* --location = follow redirects */ int error = system(cmd); if( error == 0 ) { /* -1=system() error, !0=curl errors forced by -f, 0=curl success */ size_t bytes = 0;