[hackers] [surf] Disable globbing in curl. || Christoph Lohmann

From: <git_AT_suckless.org>
Date: Mon, 7 Mar 2016 14:28:49 +0100 (CET)

commit f5e8baad06eafef22df12ab2649139260127d4e4
Author: Christoph Lohmann <20h_AT_r-36.net>
AuthorDate: Mon Mar 7 14:28:23 2016 +0100
Commit: Christoph Lohmann <20h_AT_r-36.net>
CommitDate: Mon Mar 7 14:28:23 2016 +0100

    Disable globbing in curl.

diff --git a/config.def.h b/config.def.h
index 93a3d49..7c2b10f 100644
--- a/config.def.h
+++ b/config.def.h
_AT_@ -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 \
Received on Mon Mar 07 2016 - 14:28:49 CET

This archive was generated by hypermail 2.3.0 : Mon Mar 07 2016 - 14:36:22 CET