Disable globbing in curl.

This commit is contained in:
Christoph Lohmann 2016-03-07 14:28:23 +01:00
parent 842103322c
commit f5e8baad06
1 changed files with 1 additions and 1 deletions

View File

@ -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 \