From f5e8baad06eafef22df12ab2649139260127d4e4 Mon Sep 17 00:00:00 2001 From: Christoph Lohmann <20h@r-36.net> Date: Mon, 7 Mar 2016 14:28:23 +0100 Subject: [PATCH] Disable globbing in curl. --- config.def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h index 93a3d49..7c2b10f 100644 --- a/config.def.h +++ b/config.def.h @@ -48,7 +48,7 @@ static Bool allowgeolocation = TRUE; /* DOWNLOAD(URI, referer) */ #define DOWNLOAD(d, r) { \ .v = (char *[]){ "/bin/sh", "-c", \ - "st -e /bin/sh -c \"curl -L -J -O --user-agent '$1'" \ + "st -e /bin/sh -c \"curl -g -L -J -O --user-agent '$1'" \ " --referer '$2' -b $3 -c $3 '$0';" \ " sleep 5;\"", \ d, useragent, r, cookiefile, NULL \