[2/2] winhttp: Redirects are always GET requests.
Hans Leidekker
hans at codeweavers.com
Thu Sep 11 04:49:56 CDT 2008
diff --git a/dlls/winhttp/request.c b/dlls/winhttp/request.c
index 7b0aadb..e8454f4 100644
--- a/dlls/winhttp/request.c
+++ b/dlls/winhttp/request.c
@@ -1118,6 +1118,9 @@ static BOOL handle_redirect( request_t *request )
}
}
+ /* redirects are always GET requests */
+ heap_free( request->verb );
+ request->verb = NULL;
ret = TRUE;
end:
More information about the wine-patches
mailing list