Hans Leidekker : winhttp: Redirects are always GET requests.

Alexandre Julliard julliard at winehq.org
Thu Sep 11 08:01:09 CDT 2008


Module: wine
Branch: master
Commit: 0451643e02b97480c3d0a23a3b05ac46159d553c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0451643e02b97480c3d0a23a3b05ac46159d553c

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Thu Sep 11 11:49:56 2008 +0200

winhttp: Redirects are always GET requests.

---

 dlls/winhttp/request.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/winhttp/request.c b/dlls/winhttp/request.c
index c5a7ae7..6ff2fec 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-cvs mailing list