WININET: allow http redirects to work again
Mike McCormack
mike at codeweavers.com
Sat Sep 18 07:02:01 CDT 2004
The following patch broke http redirects.
http://cvs.winehq.org/cvsweb/wine/dlls/wininet/http.c.diff?r1=1.81&r2=1.82
This fixes them again.
Mike
ChangeLog:
* allow http redirects to work again
-------------- next part --------------
Index: dlls/wininet/http.c
===================================================================
RCS file: /home/wine/wine/dlls/wininet/http.c,v
retrieving revision 1.83
diff -u -r1.83 http.c
--- dlls/wininet/http.c 14 Sep 2004 19:38:59 -0000 1.83
+++ dlls/wininet/http.c 18 Sep 2004 04:32:58 -0000
@@ -1379,7 +1379,7 @@
lpwhs->lpszUserName = WININET_strdupW(userName);
lpwhs->nServerPort = urlComponents.nPort;
- HTTP_ProcessHeader(lpwhr, g_szHost, hostName, HTTP_ADDREQ_FLAG_ADD | HTTP_ADDHDR_FLAG_REQ);
+ HTTP_ProcessHeader(lpwhr, g_szHost, hostName, HTTP_ADDREQ_FLAG_REPLACE | HTTP_ADDHDR_FLAG_REQ);
SendAsyncCallback(hIC, &lpwhs->hdr, lpwhr->hdr.dwContext,
INTERNET_STATUS_RESOLVING_NAME,
More information about the wine-patches
mailing list