diff options
| author | Nick White <git@njw.me.uk> | 2013-03-30 10:32:45 +0000 | 
|---|---|---|
| committer | Christoph Lohmann <20h@r-36.net> | 2013-03-31 11:57:34 +0200 | 
| commit | a383964c9582614fd56a45113cfa3685e92700fa (patch) | |
| tree | 7c0fdf11bef5c0953720b76d217a41eb1b48849c | |
| parent | e0e4a844f76311f4bfed542d34459dcfc68f9ddf (diff) | |
| download | surf-a383964c9582614fd56a45113cfa3685e92700fa.tar.gz surf-a383964c9582614fd56a45113cfa3685e92700fa.tar.bz2 surf-a383964c9582614fd56a45113cfa3685e92700fa.zip  | |
Ensure curl follows redirects for downloads
Signed-off-by: Christoph Lohmann <20h@r-36.net>
| -rw-r--r-- | config.def.h | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h index ed8fbbe..76061f3 100644 --- a/config.def.h +++ b/config.def.h @@ -32,7 +32,7 @@ static Bool hidebackground  = FALSE;  /* DOWNLOAD(URI, referer) */  #define DOWNLOAD(d, r) { \  	.v = (char *[]){ "/bin/sh", "-c", \ -		"st -e /bin/sh -c \"curl -J -O --user-agent '$1'" \ +		"st -e /bin/sh -c \"curl -L -J -O --user-agent '$1'" \  		" --referer '$2' -b $3 -c $3 '$0';" \  		" sleep 5;\"", \  		d, useragent, r, cookiefile, NULL \  | 
