Add a referer argument to the DOWNLOAD macro. Some sites need this. Thanks
Hiltjo Posthuma!
This commit is contained in:
parent
a4e1d552ca
commit
a7ea753f93
2 changed files with 10 additions and 4 deletions
2
surf.c
2
surf.c
|
|
@ -430,7 +430,7 @@ initdownload(WebKitWebView *view, WebKitDownload *o, Client *c) {
|
|||
Arg arg;
|
||||
|
||||
updatewinid(c);
|
||||
arg = (Arg)DOWNLOAD((char *)webkit_download_get_uri(o));
|
||||
arg = (Arg)DOWNLOAD((char *)webkit_download_get_uri(o), geturi(c));
|
||||
spawn(c, &arg);
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue