--- src/formats.c.orig 2018-08-18 10:05:14.000000000 +0200 +++ src/formats.c 2018-08-18 10:09:26.000000000 +0200 @@ -353,7 +353,7 @@ static int sox_checkformat(sox_format_t return SOX_SUCCESS; } -static sox_bool is_url(char const * text) /* detects only wget-supported URLs */ +static sox_bool is_url(char const * text) { return !( strncasecmp(text, "http:" , (size_t)5) && @@ -390,7 +390,7 @@ static FILE * xfopen(char const * identi else if (is_url(identifier)) { FILE * f = NULL; #ifdef HAVE_POPEN - char const * const command_format = "wget --no-check-certificate -q -O- \"%s\""; + char const * const command_format = "curl --no-cert-status -s -o - \"%s\""; char * command = lsx_malloc(strlen(command_format) + strlen(identifier)); sprintf(command, command_format, identifier); f = popen(command, POPEN_MODE);