Hans Leidekker : winhttp: Fix return value for relative redirects.
Alexandre Julliard
julliard at winehq.org
Fri Feb 25 07:30:25 CST 2022
Module: wine
Branch: oldstable
Commit: 73e998ab027abde80d30bcc2337666af9fc2dcda
URL: https://source.winehq.org/git/wine.git/?a=commit;h=73e998ab027abde80d30bcc2337666af9fc2dcda
Author: Hans Leidekker <hans at codeweavers.com>
Date: Thu Sep 23 14:58:28 2021 +0200
winhttp: Fix return value for relative redirects.
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit ec46607ee0b215544aa8acd3c3bb30405ed5579e)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
dlls/winhttp/request.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/winhttp/request.c b/dlls/winhttp/request.c
index 5623e09a043..c5c300b0768 100644
--- a/dlls/winhttp/request.c
+++ b/dlls/winhttp/request.c
@@ -2570,6 +2570,7 @@ static DWORD handle_redirect( struct request *request, DWORD status )
}
heap_free( request->path );
request->path = path;
+ ret = ERROR_SUCCESS;
send_callback( &request->hdr, WINHTTP_CALLBACK_STATUS_REDIRECT, location, len_loc + 1 );
}
More information about the wine-cvs
mailing list