ref: a84664a8dec90a25bc67df625051abd51225f08d
parent: c8a0bd584edcca5f27eaee1d0b2f847d199ee614
author: rrt <rrt>
date: Thu Jul 19 14:23:42 EDT 2007
Add --no-check-certificate to the wget command line to work with https servers with invalid certificates.
--- a/src/misc.c
+++ b/src/misc.c
@@ -554,7 +554,7 @@
if (is_uri(identifier)) {
FILE * f = NULL;
#ifdef HAVE_POPEN
- char const * const command_format = "wget -q -O- \"%s\"";
+ char const * const command_format = "wget --no-check-certificate -q -O- \"%s\"";
char * command = xmalloc(strlen(command_format) + strlen(identifier));
sprintf(command, command_format, identifier);
f = popen(command, "r");