commit f5e8baad06eafef22df12ab2649139260127d4e4
Author:     Christoph Lohmann <[email protected]>
AuthorDate: Mon Mar 7 14:28:23 2016 +0100
Commit:     Christoph Lohmann <[email protected]>
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
@@ -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 \

Reply via email to