summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2016-03-07 14:28:23 +0100
committerChristoph Lohmann <20h@r-36.net>2016-03-07 14:28:23 +0100
commitf5e8baad06eafef22df12ab2649139260127d4e4 (patch)
treefc45d2feaf324ec32530bee4fa3ad5f83ad1d1f3
parent842103322cd3ff7f5871d17394544277bb50436c (diff)
downloadsurf-f5e8baad06eafef22df12ab2649139260127d4e4.tar.gz
surf-f5e8baad06eafef22df12ab2649139260127d4e4.tar.bz2
surf-f5e8baad06eafef22df12ab2649139260127d4e4.zip
Disable globbing in curl.
-rw-r--r--config.def.h2
1 files changed, 1 insertions, 1 deletions
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 \