commit f5e8baad06eafef22df12ab2649139260127d4e4
parent 842103322cd3ff7f5871d17394544277bb50436c
Author: Christoph Lohmann <20h@r-36.net>
Date: Mon, 7 Mar 2016 14:28:23 +0100
Disable globbing in curl.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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 \