Disable globbing in curl.
This commit is contained in:
parent
842103322c
commit
f5e8baad06
1 changed files with 1 additions and 1 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue