pinosaur
/
surf.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0e4a84
)
Ensure curl follows redirects for downloads
author
Nick White
<git@njw.me.uk>
Sat, 30 Mar 2013 10:32:45 +0000
(10:32 +0000)
committer
Christoph Lohmann
<20h@r-36.net>
Sun, 31 Mar 2013 09:57:34 +0000
(11:57 +0200)
Signed-off-by: Christoph Lohmann <20h@r-36.net>
config.def.h
patch
|
blob
|
history
diff --git
a/config.def.h
b/config.def.h
index
ed8fbbe
..
76061f3
100644
(file)
--- 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 \